We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
i'm parsing my logs using Grok Patterns with the fluent-plugin-grok-parser. Is it possible somehow that i can put nested JSON directly to cloudwatch?
...
Having such a pattern in filter for example:
<filter matcher> @type parser key_name message reserve_data true <grok> pattern "^%{IP:[http][request][client][ip]} %{DATA}" </grok> </filter>
This will create the Field "[http][request][client][ip]" in cloudwatch logs.
What i expect in Cloudwatch Logs:
{ "host": "myhostname", "message": "192.168.0.1 message-from-ip", "http": { "request": { "client": { "ip" : "192.168.0.1" } } } }
But i got in cloudwatch:
{ "host": "myhostname", "message": "192.168.0.1 message-from-ip", "[http][request][client][ip]": "192.168.0.1" }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
Hello,
i'm parsing my logs using Grok Patterns with the fluent-plugin-grok-parser.
Is it possible somehow that i can put nested JSON directly to cloudwatch?
...
Steps to replicate
Having such a pattern in filter for example:
This will create the Field "[http][request][client][ip]" in cloudwatch logs.
Expected Behavior or What you need to ask
What i expect in Cloudwatch Logs:
But i got in cloudwatch:
Using Fluentd and CloudWatchLogs plugin versions
The text was updated successfully, but these errors were encountered: