Splunk AppDynamics

Application or Business Service Transaction Scorecard

Sebastian_Perna
Explorer

HI! I am trying to create something similar to the transaction scorecard with some business rules and saving each calculated % for dashboards and reports. For example:

Login 99.30% availability in the time range, where we calculate this by doing "Number of Transactions - Transactions with Technical Errors  / Number of Transactions" from a set of business transactions. We want this to see it online and also to have a daily and monthly ratio.

I tried this query that gives me the number that i want:

SELECT 100.0 * filter(count(*), userExperience != "ERROR") / count(*) FROM transactions WHERE application = "application example" AND transactionname =  "login business transactions example" SINCE 1 minutes

But I cannot save that as a metric and also it is not exact when trying to see a 1 month period.

Is there a way to calculate this?

Is it possible to use Experience Level Management?

Regards

Labels (1)
Tags (1)
0 Karma

Hiroki_Ito
Contributor

Thank you for posting to the community.
As written in the document below, when using division in ADQL to create metrics, each side of the expression must be enclosed in parenthesis.

A query like the following may work:
SELECT (100.0 filter(count(), userExperience != "ERROR")) / (count(*)) FROM transactions WHERE application = "application example" AND transactionname = "login business transactions example" SINCE 1 minutes

For 1 month period query, one reason that it is not exact can be retention period.
If you are using SaaS and have not purchased the 30-, 60-, or 90-day add-on, then the default value is 8 days, meaning that even your query for a one month period may actually be returning only 8 days of data.
Transaction Analytics (SaaS)
->Data retention limited to 8 days. Additional retention of 30, 60, or 90 days available as an add-on.

For Experience Level Management, you cannot use custom analytics metrics.
However, you can add the metric to custom dashboard.

Best Regards,

Hiroki
Get Updates on the Splunk Community!

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 ...

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...