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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...