Splunk Search

Sum of running total at the top not bottom.

Michael_Schyma1
Contributor

.....|top limit=0 app_id app_name | fields + count, total_count, percent,app_name, app_id | accum count AS total_count

Is there any way to get a running total to put the total at the top of the page instead of the bottom?

Tags (1)
0 Karma

Michael_Schyma1
Contributor

I also tried using the stats sum(count), but all i get is one field instead of everything else that I have in my chart.

0 Karma

Jason
Motivator

Pipe to | reverse to reverse the events (or in this case, entries in the table).

0 Karma

Michael_Schyma1
Contributor

I just want the total count to come to the top and the rest of the fields stay the same.

0 Karma

Michael_Schyma1
Contributor

so your saying:

top limit=0 app_id app_name | fields + count, total_count, percent,app_name, app_id | accum count AS total_count | reverse total_count

because i cant seem to get this to work either

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...