Getting Data In

How to restart forwarders splunkd app after deploying new apps?

NanSplk01
Path Finder

I have created a number of apps and push them out using the command line.  In the serverclass.conf I want to add a restart of the forwarders.  This is what I have so far:


[default]
restartSplunkd = true
issueReload = true

[serverClass:duke_test_app:app:duke_test_app]
restartSplunkWeb = 0
restartSplunkd = 1
stateOnClient = enabled

[serverClass:duke_test_app]
whitelist.0 =xxxxxx

Will this work?  

Labels (2)
0 Karma
1 Solution

NanSplk01
Path Finder

Great, I appreciate it.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That looks like it will work.  The app stanza doesn't need restartSplunkd since it's already set globally.

---
If this reply helps you, Karma would be appreciated.
0 Karma

NanSplk01
Path Finder

Great, I appreciate it.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...