Dashboards & Visualizations

Graphing every Nth point.

dcollette
New Member

How do I get Splunk to make a timechart using every Nth point?

Tags (1)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Here's how you would generically select every Nth row/event from a previous search pipeline:

previous search pipeline | streamstats count | eval mod = count % N | where mod = 0

You could then pipe that to a chart or timechart or whatever... I'm not quite sure why you'd want to do this though. If you'd elaborate your actual requirements we might help more.

somesoni2
Revered Legend

Can you provide some sample data/output?

0 Karma
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 ...