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

Input format option (plain, json_event) #2

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

pechdavid
Copy link

Hi,
I've added an input format option to change behaviour of the input line processing. There are two options now

  • plain - old one
  • json_event - same as in java logstash

The json_event acts as much as its original logstash alternative - e.g. the hash created for plain input is merged with line parsed as JSON.

The code has been tested in your production environment and runs fine.

If you like my enhancement, please pull, as I expect more people would appreciate this feature.

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