Deployment Architecture

Query on Deployment Server App Deployment

ppurokit
Path Finder

Hi All,

I have a deployment Server with 2 indexers and 1 search head.

I have developed an app which needs to be deployed to all these servers.

The app which i developed , should be in disabled state by default and hence in the default's folder "app.conf" i did the following

[install]
state = disabled

Couple of things i noticed in deployment:

1) When i restart my deployment server , automatically a file app.conf loads into the local folder.
2) When the app is deployed into the search head and indexers , the app is by default in Enabled state.

How to over come this issue ? So when i install the app, as i have defined , it should be in disabled state itself.

0 Karma
1 Solution

ppurokit
Path Finder

Hi All,

I sorted out this issue myself.

in the serverclass.conf file , there is an option which is enabled by default
StateOnClient = enabled.

For the app which i have created i added the following:

[serverClass::app:]
stateOnClient = disabled

View solution in original post

ppurokit
Path Finder

Hi All,

I sorted out this issue myself.

in the serverclass.conf file , there is an option which is enabled by default
StateOnClient = enabled.

For the app which i have created i added the following:

[serverClass::app:]
stateOnClient = disabled

linu1988
Champion

Mark it as answer please

0 Karma

ppurokit
Path Finder

Hi,

I do not have the local folder itself in my app itself.

I have just the default's folder app.conf and set as state = disabled.

When i restart the deployment server , the local -->app.conf gets autogenerated.

Or even without restarting , if i just run the command "splunk reload deploy-server" the app.conf gets generated inside the local folder.

0 Karma

somesoni2
Revered Legend

Just to ensure, you've followed these steps
1.You created the yourapp in the deployment-server\etc\apps.
2. You disabled the app in etc/yourapp/default/app.conf. If there is etc/yourapp/local/app.conf present, same change is done there.
3. You copied this etc/apps/yourapp into etc/deployment-apps folder (with app.conf in both local and default (if present) state=disabled)
4. You restarted deployment server.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...