Vector Filter Not Working on EKS Cluster #21765
Unanswered
justinAtBeleb
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @justinAtBeleb , What do you mean by "not working"? It isn't clear above what isn't working. For example, does Vector fail to start with an error? Do you see errors during processing? Are the transforms being skipped? Something else? It may be out-of-date (I see it hasn't been updated in a few years), but there is an example for EKS over here, https://github.com/vectordotdev/vector-demos/tree/main/eks-aggregator, that could be helpful for you. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
EDIT: Adding vital information.
We have an EKS Cluster that we have to monitor.
I have already installed Vector and the logs are being sent to Betterstack.
I'm trying to learn advanced filtering and have been testing some sample Transforms, but for some reason, they're not working.
The Problem
The integration works and logs are being recorded and sent out from Vector to Better Stack. However, the transforms are not working. The logs that should NOT have matched the filter condition are still being sent, and the remap is not reflecting in the logs, also.
Everything else works, except for the transforms.
Here is a sample Event Data:
And here is my
Sources
andTransforms
Blocks in YAML.The
extra_field_selector
andextra_label_selector
are working properly, buttransforms
, are not.The
filter
is not working despite it having the rightsource id
andremap
is also not working despite it having a simple reassignment line.I even went to VRL Playground to check if that one line of code is incorrect, but it seems to be correct (as seen below).
I'm pretty sure it's just another simple mistake that I'm just overlooking, but I really can't seem to find what's wrong. I've checked the documentations again and again and again, but still can't see what's wrong here.
I hope someone can help me. It also does not help that the examples in the documentations are just very minimal. I wish there's a complete example somewhere for Kubernetes (or maybe I'm just blind)
Beta Was this translation helpful? Give feedback.
All reactions