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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...