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

Unify log messages style for all messages #1104

Open
mrodm opened this issue Oct 26, 2023 · 0 comments
Open

Unify log messages style for all messages #1104

mrodm opened this issue Oct 26, 2023 · 0 comments

Comments

@mrodm
Copy link
Contributor

mrodm commented Oct 26, 2023

Currently, logs from the server itself are not formatted as a JSON as the other applications logs as noticed by @jsoriano in #1103

For instance:

{"log.level":"info","@timestamp":"2023-10-25T17:43:33.554Z","log.logger":"http","message":"HEAD / HTTP/2.0","source.address":"172.17.0.1","http.request.method":"HEAD","url.path":"/","url.domain":"localhost","http.response.code":200,"http.response.body.bytes":72,"event.duration":29288,"source.ip":"172.17.0.1","user_agent.original":"curl/7.81.0","url.port":8080,"ecs.version":"1.6.0"}
2023/10/25 17:43:39 http: TLS handshake error from 172.17.0.1:53032: remote error: tls: protocol version not supported
2023/10/25 17:43:43 http: TLS handshake error from 172.17.0.1:37008: remote error: tls: protocol version not supported

It would be great that all logs were formatted using the same logger if possible.

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

1 participant