Getting Data In

Can we set the ttl for knowledge bundles on indexers?

ben_leung
Builder

We have a version 6.3.4 search head cluster and indexers, in a distributed search environment. Noticing that the searchpeers directory has the bundle along with the deltas. Can we set a time to live for these directories? Similar to setting a ttl for dispatch artifacts from scheduled runs.

Not sure if there is a configuration in distsearch or limits that would be able to do this.

0 Karma
1 Solution

esix_splunk
Splunk Employee
Splunk Employee

You can adjust the local and remote TTL for the indexers in limits.conf.

For more information on the effects of this, please read this article :

http://blogs.splunk.com/2012/09/12/how-long-does-my-search-live-default-search-ttl/

You can change a ttl either by setting an individual value for a search when you save it, set a dispatch.ttl value (either global or for an individual search) in savedsearches.conf or the [search] or [subsearch] stanzas in limits.conf (ttl or remote_ttl in [search] or ttl in [subsearch].) Have a look at the documentation in savedsearches.conf.spec and limits.conf.spec for more on how to specify these values. Most are given in seconds, except for dispatch.ttl which can also specify the number of schedule periods (like “2p”.)

And here is a link to the spec file for limits.conf, for your reading pleasure.

View solution in original post

esix_splunk
Splunk Employee
Splunk Employee

You can adjust the local and remote TTL for the indexers in limits.conf.

For more information on the effects of this, please read this article :

http://blogs.splunk.com/2012/09/12/how-long-does-my-search-live-default-search-ttl/

You can change a ttl either by setting an individual value for a search when you save it, set a dispatch.ttl value (either global or for an individual search) in savedsearches.conf or the [search] or [subsearch] stanzas in limits.conf (ttl or remote_ttl in [search] or ttl in [subsearch].) Have a look at the documentation in savedsearches.conf.spec and limits.conf.spec for more on how to specify these values. Most are given in seconds, except for dispatch.ttl which can also specify the number of schedule periods (like “2p”.)

And here is a link to the spec file for limits.conf, for your reading pleasure.

Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...