Regexp test in Fluentular passed but pattern not matched when use Fluentd to get logs #3914
Unanswered
huy96cpqnvn
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I test regexp in Fluentular, response is in the form of json This is my regexp:
This is regexp and string (Logs of Java Spring boot include Exception) enter image description here
This is response in Fluentular: enter image description here
But when I use Fluentd with td-agent.conf:
I can get response type json for first line include timestamp, level,..that i defined. But from the 2nd line, after Enter, logs display: fluent.warn: {"message":"pattern not matched: "...}
Logs in td-agent.log:
enter image description here
enter image description here
I want to key "message" includes all of Exception line.
Please help me this problem. Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions