How to exclude mobile traces in trace view?

Problem:

We are trying to filter traces for a service, and we want to exclude the traces coming from Mobile devices. How can I achieve this using the dynamic focus query?

Solution:

Creating a dynamic focus query to achieve this could be sometimes tricky. Here is an example that could help to filter the results properly for the similar use cases.

 

entity.service.name: YOUR-SERVICE-NAME AND span.website.userAgent.browser.name:* AND NOT span.website.userAgent.browser.name:"*MOBILE*"

 

Replace:

YOUR-SERVICE-NAME with the service you are interested in

MOBILE: Replace the keyword that you would like to use to exclude from the results

 

Have more questions? Submit a request

Comments