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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...