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

[aws-for-fluent-bit] Add Exclude_Path to default INPUT #573

Open
sthristov opened this issue Aug 12, 2021 · 3 comments · May be fixed by #1168
Open

[aws-for-fluent-bit] Add Exclude_Path to default INPUT #573

sthristov opened this issue Aug 12, 2021 · 3 comments · May be fixed by #1168
Labels
enhancement New feature or request

Comments

@sthristov
Copy link

sthristov commented Aug 12, 2021

It would be nice to be able to exclude log files from the default INPUT in configmap.yaml of the aws-for-fluent-bit chart.
I need to be able to implement this configuration.

@sthristov sthristov added the enhancement New feature or request label Aug 12, 2021
@hjavaid06
Copy link

are we able to exclude any line of logs by using Exclude_Path in aws-for-fluent-bit chart?
or there is any other mechanism exclude logs in aws-for-fluent-bit?

@raress96
Copy link

raress96 commented Aug 24, 2022

Is there no solution to this? Just wanted to use the Exclude_Path and put under input: excludePath... but it doesn't work...

EDIT: Found the solution, you can now use the input.extraInputs option to set the Exclude_Path:

input:
  extraInputs: Exclude_Path /var/log/containers/*_NAMESPACE1_*.log, /var/log/containers/*_NAMESPACE2_*.log

@sthristov @hjavaid06 If you still need this. I think this issue can be closed.

@armujahid
Copy link

input.extraInputs solution provided by @raress96 is enough to satisfy this requirement. So I think we can close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
4 participants