Skip to content
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

Rename fields? #47

Open
someperson opened this issue Oct 10, 2014 · 2 comments
Open

Rename fields? #47

someperson opened this issue Oct 10, 2014 · 2 comments

Comments

@someperson
Copy link

Is there any way to rename the fields coming out of this thing? We already have logs coming out of other systems with uniform field names and we'd like to be able to modify them here to match.

@magnusbaeck
Copy link

That's something you can do in Logstash. That might actually be a better place than overloading the configuration interface of this layout class.

@IsmaelMartinez
Copy link

In case it helps, this issue shows a few different ways of dealing with file renaming.
logstash-plugins/logstash-input-beats#33

This is important as log4j-jsonevent-layout creates the timestamp field with @timestamp and that clashes with logstash and filebeats @timestamp field.

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

No branches or pull requests

3 participants