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!

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