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!

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