06 Mar 2023 10:18 PM
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?
Solved! Go to Solution.
07 Mar 2023 04:45 PM
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!