Deployment Architecture

Must splunk be restarted in order for a manual edit of props.conf to take effect?

gbenison
Engager

I made an edit to linebreaking in props.conf, then used the CLI "splunk add oneshot " to index a file, saw that new events were indexed, but still according to the old line-breaking scheme. After a splunk restart and another "add oneshot", the new linebreaking scheme was honored. Is a restart each time the only way to incorporate edits to props.conf?

Tags (2)
1 Solution

bwooden
Splunk Employee
Splunk Employee

For configuration that affect parsing, yes (timestamp identification, line breaking, transforms, etc).

Configurations that are used at search time (lookups, extracts, reports, etc) do not require a restart.

View solution in original post

bwooden
Splunk Employee
Splunk Employee

For configuration that affect parsing, yes (timestamp identification, line breaking, transforms, etc).

Configurations that are used at search time (lookups, extracts, reports, etc) do not require a restart.

Ayn
Legend

Not anymore you don't. That used to be the case, but as of 4.x (iirc) each search will be run in its own process so it will read all settings at the time of initialization. So, the latest search-time settings will always be used.

jpass
Contributor

For search time configurations (lookups,extracts,reports etc) I believe you need to append 'extract reload=true' to your sear

| extract reload=true

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...