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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...