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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...