Deployment Architecture

Custom Deployment Serverclass:app

samhodgson
Path Finder

Hi All,

I had 2 serverclasses (servers and workstations) and I wanted to add a custom config for the Splunk_TA(technology add-on)_windows app on the DomainControllers so have created a DCs serverclass along with a Splunk_TA_windows app configuration in serverclass.conf as follows:

    [serverClass:Servers:app:Splunk_TA_windows]
    restartSplunkWeb = 0
    restartSplunkd = 1
    stateOnClient = enabled

    [serverClass:DomainControllers:app:Splunk_TA_windows]
    restartSplunkWeb = 0
    restartSplunkd = 1
    stateOnClient = enabled
    repositoryLocation = /opt/splunk/etc/deployment-apps/dcs/Splunk_TA_windows

I have removed the whitelist/blacklists from the above snippet. This is deploying the Splunk_TA_windows app configuration from the standard deployment-apps directory to the domain controllers as opposed to the config located in the defined repository location. The domain controllers are in the DomainControllers serverclass and the web console shows that they have Splunk_TA_windows deployed to them after my config changes.

Do I need to provide a unique name for the app?

Also, for some reason I have my deployment config for servers and workstations split across 2 files despite configuring them both in the web console:

Servers: /opt/splunk/etc/apps/search/local/serverclass.conf

Workstations: /opt/splunk/etc/system/local/serverclass.conf

I have been reloading the deployment server after making config changes.

Any assistance on the above would be greatly appreciated!

0 Karma
1 Solution

samhodgson
Path Finder

So it looks like the multiple serverclass files is a known issue:

http://docs.splunk.com/Documentation/Splunk/7.0.1/Updating/Useserverclass.conf

The reason my above configuration was failing was because I had the Splunk_TA_windows app for the DC's inside a DC's subfolder in the deployment apps folder. I have moved it into the deployed apps folder and called it Splunk_TA_windows_dc, assigned it to the domaincontroller serverclass and it is now deploying and working as it should.

I also moved all of my config into the system/local/serverclass.conf and renamed the one under the search app directory.

View solution in original post

0 Karma

samhodgson
Path Finder

So it looks like the multiple serverclass files is a known issue:

http://docs.splunk.com/Documentation/Splunk/7.0.1/Updating/Useserverclass.conf

The reason my above configuration was failing was because I had the Splunk_TA_windows app for the DC's inside a DC's subfolder in the deployment apps folder. I have moved it into the deployed apps folder and called it Splunk_TA_windows_dc, assigned it to the domaincontroller serverclass and it is now deploying and working as it should.

I also moved all of my config into the system/local/serverclass.conf and renamed the one under the search app directory.

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!

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...