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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

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