Splunk Search

Funnel by Field

Timeago
Explorer

... | table Field Count | sort 0 Field

For example, we have






















Field Count
n1 1
n2 10
n3 100
n4 1000

How can I make funnel like this?






















Field Count
n1 1
n2 11
n3 111
n4 1111

Value of Funnel is equal to sum of previous value of Funnel and current value of Count.

Tags (1)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Append this:

... | streamstats sum(Count) as Count

View solution in original post

kristian_kolb
Ultra Champion

Or the built-in command accum specifically for this purpose;

... | accum count

http://docs.splunk.com/Documentation/Splunk/5.0.2/SearchReference/Accum

/K

martin_mueller
SplunkTrust
SplunkTrust

Append this:

... | streamstats sum(Count) as Count
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...