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!

New Case Study Shows the Value of Partnering with Splunk Academic Alliance

The University of Nevada, Las Vegas (UNLV) is another premier research institution helping to shape the next ...

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

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