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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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