Splunk Search

Stats values to be calculated in 2 ways for a dashboard base query

varsh_6_8_6
Explorer

Hi,
I have 2 panels for which the events flow is high and so I am trying to include the stats command along with the fields command in the base query.
I have a field TotalTransaction for which i need stats values as 
"|stats count(TotalTansaction) as tottrans by Tier" for one panel
"|stats count(TotalTransaction) as tottrans by Tier Proxy method" for the other panel

How to get both the stats values included in the same query.

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
|stats count(TotalTransaction) as tottrans by Tier Proxy method
|eventstats sum(tottrans) as totaltrans by Tier

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust
|stats count(TotalTransaction) as tottrans by Tier Proxy method
|eventstats sum(tottrans) as totaltrans by Tier
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...