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!

Introducing the Splunk Developer Program!

Hey Splunk community! We are excited to announce that Splunk is launching the Splunk Developer Program in ...

Splunkbase Year in Review 2024

Reflecting on 2024, it’s clear that innovation and collaboration have defined the journey for Splunk ...

Developer Spotlight with Brett Adams

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