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

How to write the error_log in json format ? #45

Open
ManjunathMuniyapla opened this issue Jan 31, 2024 · 2 comments
Open

How to write the error_log in json format ? #45

ManjunathMuniyapla opened this issue Jan 31, 2024 · 2 comments

Comments

@ManjunathMuniyapla
Copy link

We have a option to format the access_logs only in json format and send it to ELK or Opensearch directly without parsing it.
and how about error logs , error logs are also equally important as access logs and to be pushed to ELK or Opensearch right ?
if possible if you can make this happen it will be a great help for many people

Thanks
Manjunath

@fooinha
Copy link
Owner

fooinha commented Jan 31, 2024

How do you use this project?

@ManjunathMuniyapla
Copy link
Author

Hi Thanks for replying,

we are in the process of migrating our log workload from splunk to ELK and we have one application running on nginx ,
Our tech team decided to generate the logs in json format and push to Elasticsearch by skipping the parsing process through logstash.
Now i need both access and erros logs in json format as both are important
This is my use case .

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

2 participants