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!

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...