Python Webapp Error Log — JSON?

I have a Python app that currently output regular console logs. I use this to monitor any potential issues with the app. I’m using Sentry atm to track errors but am wondering if Logstash would be a good use case to do this as well?

If I do use Logstash, should I use a custom JSON logger and then output each error to a single line? Logstash be able to then parse essentially an NDJSON into useful data that I can use?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.