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

Queries with dynatrace

gus_solji
Participant

hello everyone.

I have 2 applications working with dynatrace, one web application and the other mobile. These applications have request errors, custom errors and javascript errors. Is there a way to make a query where I get back if a particular error is present in both applications?

1 REPLY 1

chris_smerek
Dynatrace Participant
Dynatrace Participant

Hello!

 

If you are using Logs and Events with Grail, a potential query could be:

fetch logs
| filter contains(content, "error1") and contains(content, "error2") and host.name == "host1" OR host.name == "host2"

 

You may need to modify the 'host.name' portion to be a different Dynatrace entity in order to match the applications you are referring to (i.e. dt.process.name if you have a process that runs on both applications, or dt.source.entity if you have the exact entity ID of each application).

 

Hope that helps!

Featured Posts