Splunk Search

Effect the change in Splunk

abhayneilam
Contributor

Hi,

Whenever I make any changes in the splunk configuation file, I need to restart splunk services to effect the changes made.

Do I have any alternative so that the changes will be effected without restarting splunk services ?

Please help !!

Many thanks for your kind support !!

Tags (2)
0 Karma
1 Solution

MuS
Legend

Hi abhayneilam,

As a rule of thumb you can go by: usually anything that affects indexing level changes require a splunk restart, while search level changes require a reload. Here's a good guideline on how to determine which is which.

http://www.splunk.com/base/Documentation/latest/admin/Indextimeversussearchtime

So index creation or settings modifications, props.conf time stamp extractions, or transforms.conf indexed field modifications as well as most .conf manual changes will require a restart.

If you make changes with $SPLUNK_HOME/bin/splunk CLI changes or within the UI, it wont require a restart....unless of course you get prompted for a restart

hope this helps ...

cheers, MuS

View solution in original post

Rocket66
Communicator

You can also use the http://[SPLUNKSERVER]:8000/en-us/debug/refresh to reload conf-files 🙂

DavidHourani
Super Champion

It sure is a time saver 🙂

0 Karma

Rocket66
Communicator

Absolutly right, MuS - but in some cases very useful 🙂

0 Karma

MuS
Legend

be aware that this does not refresh all endpoints, only

data/ui/[manager|nav|views]

and admin endpoints:
conf-times
alert_actions
clusterconfig
commandsconf
conf-deploymentclient
conf-inputs
conf-times
conf-wmi
cooked
datamodel-files
datamodelacceleration
datamodeledit
deploymentserver
eventtypes
fields
fifo
fvtags
indexes
localapps
lookup-table-files
macros
manager
monitor
nav
passwords
pools
quickstart
raw
savedsearch
scheduledviews
script
sourcetypes
ssl
syslog
tcpout-default
tcpout-group
tcpout-server
transforms-extract
transforms-lookup
udp
ui-prefs
views
viewstates
workflow-actions

0 Karma

MuS
Legend

Hi abhayneilam,

As a rule of thumb you can go by: usually anything that affects indexing level changes require a splunk restart, while search level changes require a reload. Here's a good guideline on how to determine which is which.

http://www.splunk.com/base/Documentation/latest/admin/Indextimeversussearchtime

So index creation or settings modifications, props.conf time stamp extractions, or transforms.conf indexed field modifications as well as most .conf manual changes will require a restart.

If you make changes with $SPLUNK_HOME/bin/splunk CLI changes or within the UI, it wont require a restart....unless of course you get prompted for a restart

hope this helps ...

cheers, MuS

abhayneilam
Contributor

Thanks a lot for the prompt reply !!

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...