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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...