Splunk Search

Consolidate multiple sparklines into a single sparkline

splunkbeginner2
Path Finder

Hello,

I would like to consolidate multiple sparklines from different rows into a single sparkline, that shows the sum. Is this anyhow possible? I never saw that, but maybe you might have an idea how to do that.

I am looking for something that works like | stats sparkline(sum(sparkline)) but shows me a sparkline, and not a simple number.

Thanks for your support!

Regards,

Xantor

1 Solution

lguinn2
Legend

Try this

yoursearchhere
| stats count sparkline by category
| appendpipe [ stats sum(count) as count sparkline(sum(count)) | eval category="TOTAL" ]

View solution in original post

lguinn2
Legend

Try this

yoursearchhere
| stats count sparkline by category
| appendpipe [ stats sum(count) as count sparkline(sum(count)) | eval category="TOTAL" ]

splunkbeginner2
Path Finder

Works great, Thank you!

Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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