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
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...