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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...