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!

New This Month in Splunk Observability Cloud - Synthetic Monitoring updates, UI ...

This month, we’re delivering several platform, infrastructure, application and digital experience monitoring ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Best Strategies to Optimize Observability Costs

 Join us on Tuesday, May 6, 2025, at 11 AM PDT / 2 PM EDT for an insightful session on optimizing ...