Splunk Search

how to auto refresh saved search or report

sou128
Explorer

hi,

Is it possible to do this? I've a dashboard that hosts 4 searches/reports, my requirement is to refresh those reports every 5 seconds. I know I can auto refresh the entire dashboard, but can I auto refresh the reports themselves? thx

ps, each report contains different events from the last one hr.

Tags (3)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

You might consider changing each report to a real-time search, if you're really running things every 5 seconds over the past hour. That will update continuously, and may put less search load on the system.

View solution in original post

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You might consider changing each report to a real-time search, if you're really running things every 5 seconds over the past hour. That will update continuously, and may put less search load on the system.

0 Karma

sou128
Explorer

I tried using real-time search in my dashboard xml like so:


source="C:\tmp\log4j2.log" userlogin bam
rt-5s <!-- my attempt to auto-refresh every 5 seconds
rt

but the results didn't include events within the hour, only the past 5 seconds. any pointers ? thx

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...