Deployment Architecture

After deploying apps using the Deployment Server, does Splunk restart all of them at once?

aferone
Builder

We are just starting to use Deployment Server. Most of my apps are for inputs.conf and outputs.conf configurations. Normally, when editing both of these files in local, we need to restart the Splunk service.

If I deploy 2 inputs apps, and 1 outputs app, does Splunk restart 3 different times, since that's the setting for each app on the Deployment Server? Or does Splunk know to only restart once?

Thanks!

0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi aferone,

In theory Splunk will restart after each of the apps is deployed, but you could also just have one restart.

Another option to have more control about this, is to have no deployment apps configured to perform a restart. Instead use a dummy app which contains for example just a readme.txt, assign the restart Splunk option to this dummy app and use the Splunk UI to assign clients that need a restart to the dummy app. This way you can select the UF's that will be restarted and you know they will be restarted only once.

Hope this makes sense and helps ...

cheers, MuS

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi aferone,

In theory Splunk will restart after each of the apps is deployed, but you could also just have one restart.

Another option to have more control about this, is to have no deployment apps configured to perform a restart. Instead use a dummy app which contains for example just a readme.txt, assign the restart Splunk option to this dummy app and use the Splunk UI to assign clients that need a restart to the dummy app. This way you can select the UF's that will be restarted and you know they will be restarted only once.

Hope this makes sense and helps ...

cheers, MuS

aferone
Builder

Thanks! I'll try it!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...