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!

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, ...