-
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
Filter Parser Regex seems works improperly #2250
Comments
I tested such configuration and it seemed to work correctly. Can you share other parser configurations ? (statefulset and selfmanaged) parsers.conf:
a.conf:
output is here.
|
@nokute78
They all got from my fluentd config and there they work as expected. Have I understood correctly: They are applied one by one in the order they declared in FILTER and the one that matches first wins and successors are canceled? |
@Antiarchitect Thank you.
Hmm, when |
So you mean it's a real bug and behavior shouldn't change dependent on Reserve_Data? Sounds reasonable to me. |
@Antiarchitect Yes. Note: parsers.conf:
a.conf
|
Great! |
Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
fluent#2250) Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
I sent a patch #2255. It should be fix the issue.
a.conf:
output is
|
Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
FluentBit fluent/fluent-bit:1.4.6 - official Docker image
I have this parser section:
And this is how it's used:
And this value is in the
source
field:According to the rules, it should hit the first parser.
And https://rubular.com/ gives me correct results:
As many other online regex services i.e. https://regex101.com/r/3Gt1UE/2
But I'm getting this in my Elastic:
As you can see k8s_pod_name is incorrect, and k8s_pods_generation is not present at all
The text was updated successfully, but these errors were encountered: