Splunk Search

how can i save a shedule search?

rakesh_498115
Motivator

Hi

Can you help me in a saving a schedule search that runs for every 15 seconds .. how can i do it ? i have seen that cronjob we can give a minumum of minute..but i need for every 15 seconds ..can you pls help...

Tags (2)
0 Karma

adrianathome
Communicator

One idea is having an infinite loop that sleeps every 15 seconds in a script.

`While true
 do
   execute your search
   sleep 15
 done`
0 Karma

Ayn
Legend
0 Karma

rakesh_498115
Motivator

where will use this script..can you pls help in detail...taking a sample search..

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...