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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...