Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubearmor receiver unable to filter logs before sending to loki #8

Open
Shashankft9 opened this issue Aug 17, 2023 · 1 comment · May be fixed by #10
Open

kubearmor receiver unable to filter logs before sending to loki #8

Shashankft9 opened this issue Aug 17, 2023 · 1 comment · May be fixed by #10

Comments

@Shashankft9
Copy link
Contributor

It seems like with the present configuration of the kubearmor receiver and the otel collector CRD, filtering is not happening, and all the logs including general messages and alerts are being sent to loki and then the same on grafana - for my setup the number goes to 3k-4k logs per batch sent.

more discussion here: https://kubearmor.slack.com/archives/C01FG4G2PEY/p1691559281078039

I have changed few things in the configuration files and it works for me, I am monitoring it a little more, will send a PR soon for discussion.

@Shashankft9 Shashankft9 linked a pull request Aug 17, 2023 that will close this issue
@Chinwendu20
Copy link
Contributor

Chinwendu20 commented Aug 18, 2023

Yeah I think the collector deployment might not be able to read env variables as it is not included in the CRD definition

https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opentelemetrycollector

changing the filters directly works from my end.

Cc @DelusionalOptimist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants