Splunk AppDynamics

Analytics - totalResultCount()

Gregory_Burkhea
Path Finder

Can someone help me understand the totalResultCount function?

I have looked at the documentation and spent an hour or two fiddling with it, but I can't figure out what it is supposed to do.

Labels (1)
0 Karma
1 Solution

iamryan
Community Manager
Community Manager

Hi @Gregory.Burkhead,

I'm going to dig into this for you, but I wanted to make sure this was the documentation you were looking at.

https://docs.appdynamics.com/appd/onprem/latest/en/analytics/adql-reference/adql-queries/analytics-f...

This explanation does not tell you enough? 

This query first selects all error transactions for the "ECommerce" application. It then calculates, for each unique transaction name, the ratio of instances of that transaction name to the total number of error transactions. (The assumption is that any given transaction name can appear in multiple error transactions.)

SELECT transactionName, count ( * ) / totalResultCount() FROM transactions WHERE application = 'ECommerce' AND userExperience = 'ERROR'

View solution in original post

0 Karma

iamryan
Community Manager
Community Manager

Hi @Gregory.Burkhead,

I'm going to dig into this for you, but I wanted to make sure this was the documentation you were looking at.

https://docs.appdynamics.com/appd/onprem/latest/en/analytics/adql-reference/adql-queries/analytics-f...

This explanation does not tell you enough? 

This query first selects all error transactions for the "ECommerce" application. It then calculates, for each unique transaction name, the ratio of instances of that transaction name to the total number of error transactions. (The assumption is that any given transaction name can appear in multiple error transactions.)

SELECT transactionName, count ( * ) / totalResultCount() FROM transactions WHERE application = 'ECommerce' AND userExperience = 'ERROR'
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...