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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...