cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Alert on single line data written into log analytics

Good morning community,

I'm currently ingesting a volume of data inside an analytics schema.
I'm interest in specific dynamic when some of the results are in failed status:

MessageGuid CorrelationId ApplicationMessageId ApplicationMessageType Sender IntegrationFlowName Status Duration_ms Exception
123 abc1 4568 important_application A Route_Idoc FAILED 2433 org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking https://**************.com/api/data/v7.*/$batch with statusCode: 400
778 abc2 4569 important_application A Route_Idoc FAILED 5120 org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking https://**************.com/api/data/v7.*/$batch with statusCode: 401
980 abc3 4562 important_application B Route_Idoc FAILED 11563 org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking https://**************.com/api/data/v7.*/$batch with statusCode: 402
321 abc4 4561 important_application B Route_Idoc FAILED 5180 org.apache.camel.component.ahc.AhcOperationFailedException: HTTP operation failed invoking https://**************.com/api/data/v7.*/$batch with statusCode: 403
 

My question is the following:

Considering that I'm on Dynatrace Saas, will it be possible to alert from Dynatrace on single results when they contain status failed and send a problem with a custom payload, with values taken from the log line itself?
For an example : when I do have one row with status failed, generate an alert with the following message:

The message <take the value from the analytics MessageGuID> has status <take the value from the analytics  Status> with Exception < value from the analytics Exception>

Thank for any feedback and experience shared,

regards

0 REPLIES 0