-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Example for rewrite-tag getting stuck locally #2579
Comments
I tried your config and it works here:
|
Used the official aws-for-fluent-bit docker image to test this morning, seems like it only doesn't work on local installation |
which Fluent Bit version uses aws-for-fluent-bit docker ? |
it was fluent-bit 1.5.6, same as my homebrew installation |
I'm getting the same issue with fluent-bit 1.6.0 & 1.6.1 |
Can confirm this issue is related to macOS. Because I tried with an Ubuntu VM (20.04.1) and this works. @edsiper glad we can get a fix for macOS as well. |
Can confirm that it still doesn't work in OSX (fluent-bit version 1.7.2) |
Same here, it doesn't work on fluent-bit 1.7.2 over newest OSX (some big-sur). |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Bug Report
Describe the bug
I've downloaded fluent-bit through homebrew on a mac (i've also compiled the binaries and tried that) and tried replicating the results seen in this docs page rewrite-tag filter for how to use rewrite-tag. When i run it with the config given at the bottom of the page, i don't get any output.
if i change
to
and tell output to match * I begin to get the the original log lines come through
It seems to me that it is getting to the filter step, but failing in some way and not outputting the resulting messages with the new tag, if I am just missing something completely that would be great.
To Reproduce
1 download fluent-bit using homebrew
2 run fluent-bit using this configuration file
check if there is any output with the new tag
Expected behavior
I would expect the original tag test_tag will be rewritten as from.test_tag.new.fluent.bit.out:
Screenshots
Your Environment
Additional context
I was attempting to use fluentbit with firelens to send log messages matching a certain text in the log to a firehose delivery stream then to an s3 bucket. I was having trouble getting the [filter] portion to work and it would just catch all logs that match the regex pattern and leave them hanging. I tried to do some local development to learn more about filters and how to use them, but couldn't get this example to work
The text was updated successfully, but these errors were encountered: