Splunk AppDynamics

How to create an Analytic query that would show the top 5 Business Transactions with Error counts?

tdavison76
Path Finder

Hello,

I am trying to create an Analytic query that would show the top 5 BTs with Error counts.

e.g.

TransactionName  3

I'm not great at building SQL or Analytics queries. : )

Thanks for any help, much appreciated.

Tom 

Labels (1)
0 Karma
1 Solution

Morelz
Builder

Hi Tom

You can do it this way

SELECT transactionName, count(*) AS "Counts" FROM transactions WHERE userExperience = "ERROR" ORDER BY Counts DESC LIMIT 5

This would be across all applications, you can put in additional filters if you want to limit it to a specific application etc.

Ciao

View solution in original post

Morelz
Builder

Hi Tom

You can do it this way

SELECT transactionName, count(*) AS "Counts" FROM transactions WHERE userExperience = "ERROR" ORDER BY Counts DESC LIMIT 5

This would be across all applications, you can put in additional filters if you want to limit it to a specific application etc.

Ciao

tdavison76
Path Finder

Thank you very much for the Solution on this.  Very much appreciated.

Thanks,

Tom

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...