Getting Data In

which props files in splunk do not require restarting splunk?

alexl1
Path Finder

hi, when making changes to props files, which props files in splunk do not require restarting splunk and take effect on the fly? thanks,

Tags (1)
0 Karma
1 Solution

ChrisG
Splunk Employee
Splunk Employee

Are you asking about props.conf in particular, or configuration files in general? Changes to props.conf almost always require a restart, see this previous Answers posting.

For a more general answer, see this Answers posting.

You should read the topics about configuration files in the Admin Manual, particularly the topic on configuration file precedence.

View solution in original post

ChrisG
Splunk Employee
Splunk Employee

Are you asking about props.conf in particular, or configuration files in general? Changes to props.conf almost always require a restart, see this previous Answers posting.

For a more general answer, see this Answers posting.

You should read the topics about configuration files in the Admin Manual, particularly the topic on configuration file precedence.

ChrisG
Splunk Employee
Splunk Employee

No, you would never be. But, if you--hypothetically--were, I would admire you for it.

0 Karma

Drainy
Champion

Not to be picky of course 🙂

0 Karma

ChrisG
Splunk Employee
Splunk Employee

Thanks for the refinement, Drainy. 🙂 I appreciate it the correction!

Drainy
Champion

I'd disagree that they almost always require a restart, as Ayn posted below, anything search time related takes effect immediately as this part of the props is reloaded each time Splunkd forks off a new process to handle a search.

alacercogitatus
SplunkTrust
SplunkTrust

It's more about the settings that are changed, then the files themselves. Search-Time properties (EXTRACT, REPORT, FIELDALIAS, etc) are done "on the fly". Index-time properties (TRANSFORMS, LINE_BREAKER, parsing items, etc) need restarts. When in doubt, wait no more than 10 minutes, and then restart.

Ayn
Legend

It's not a matter of which file the settings are in - Splunk reads settings from all props.conf files and merges them. Rather it's a matter of which specific settings. The general rule is that all settings affecting index-time behaviour (event breaking, timestamp parsing, etc) require a restart whereas all search-time settings (field extractions, lookups...) do not.

alexl1
Path Finder

thanks xxx

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...