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

setting logging.json=true does not truly have full json logs #6064

Closed
vchan2002 opened this issue Jan 12, 2018 · 1 comment
Closed

setting logging.json=true does not truly have full json logs #6064

vchan2002 opened this issue Jan 12, 2018 · 1 comment

Comments

@vchan2002
Copy link

vchan2002 commented Jan 12, 2018

When I set logging.json=true, it seems that the logs that was output to STDOUT is not 100% json... there are some additional fields that's there ... I am using heartbeat 6.1.1 in a docker container, and the logs look like this... There are some additional fields that's there before the JSON part starts.

2018/01/12 05:40:44.257192 manager.go:110: {"level":"INFO","message":"Select (active) monitor http","timestamp":"2018-01-12T05:40:44Z"}

When I run logstash in docker with its logs output setup as JSON, it's fully 100% json, which I was able to have them processed with... logstash to have it sliced and diced ....

While I can do an additional logstash logic to parse this.... it would be great if there's some sort of standard that we should expect from elastic products when I specify the logs to be in JSON format.

@andrewkroh
Copy link
Member

This will be fixed in 6.2. #5901

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

No branches or pull requests

2 participants