Skip to content

Conversation

@nms-snagle
Copy link

Hi! Thanks for creating this great project!
I was able to incorporate it into my project but needed the ability to add context data to my log messages.
The only actual change Im proposing is to append the logEvent.contextData to fluentd in the FluencyAppender class

I removed the gpg plugins from the poms so i could build it locally and test it - those changes can be discarded

In my project i need to deploy the application to multiple ec2s and the logs are all aggregated into splunk.
In my application I implemented the ContextDataProvider interface where I collect ec2 details. Then for all my existing log messages my context data gets inserted into the structured json message making it easy to tell one instance log from another in splunk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant