nginx-json-log
nginx-json-log copied to clipboard
How to write the error_log in json format ?
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
How do you use this project?
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 .