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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...