java – How to create alert according to newrelic error logs

I have a Java application running in a microservices architecture. I collect the logs and error conditions of the services on the New Relic platform using the New Relic agent. I want to create alarms through the New Relic platform based on error logs. These alarms should be mostly unique for similar error logs and should include the error stack in the alert notification. I’m not sure how to define alarms and use correlation decisions to achieve this goal. I would appreciate it if you could help.

I have created simple alarms, but each issue that is currently triggered includes recent errors. This means that one issue can contain multiple errors or no errors at all.

Read more here: Source link