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

Enabling JSON logging to ship logs to EFK stack #406

Open
shahamit opened this issue Aug 23, 2023 · 2 comments
Open

Enabling JSON logging to ship logs to EFK stack #406

shahamit opened this issue Aug 23, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@shahamit
Copy link

Is your feature request related to a problem? Please describe.
We are using version 2.7.0 in production. We want to ship zeeqs logs to the standard centralised log management stack - EFK stack (elasticsearch-fluentd-kibana). Our fluentd is configured to parse json logs. Current zeeqs code base does not generate logs in json format hence they don't get parsed by fluentd.

Describe the solution you'd like
Add logback-logstash-encoder dependency so that LogstashEncoder could be used to encode and generate zeeqs logs in json format. We use this library in all our microservices to enable json logging. We have been using version 6.6 of this library in production

@shahamit shahamit added the enhancement New feature or request label Aug 23, 2023
@shahamit
Copy link
Author

@saig0 - in order to locally try out where (in which pom.xml file) should we add the logback-logstash-encoder dependency?

@saig0
Copy link
Contributor

saig0 commented Sep 5, 2023

@shahamit this sounds interesting. 👍

First, I was a bit confused about the name and expected a dependency on Logstash. But it seems that the encoder doesn't depend on Logstash itself and is for general purpose.

You can add the dependency in the app directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants