Alerting

Scheduled search period?

the_wolverine
Champion

Can someone clarify what is meant by a "period"? Context is this:

"* If the integer is followed by the letter 'p' the ttl is interpreted as a multiple of the scheduled search's period."

I would interpret this as, if my scheduled search runs once per hour and I specify a period of 10p, that would mean my search artifact would survive for 10 hours.

0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

Yes this is the meaning.

if a search runs every hour ( cron 0 * * * * ) with a ttl of 10p ( 10 periods), will store the results for 10 hours.
FYI the default ttl is 2p.

View solution in original post

0 Karma

yannK
Splunk Employee
Splunk Employee

Yes this is the meaning.

if a search runs every hour ( cron 0 * * * * ) with a ttl of 10p ( 10 periods), will store the results for 10 hours.
FYI the default ttl is 2p.

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...