Deployment Architecture

Clean up deployment config: splitting serverclass.conf

bwakely
Explorer

Greetings, all.

This isn't a big deal,
but is there some kind of #include directive you could use in, say, serverclass.conf?
Or can you have multiple serverclass.conf files stack up in the same way as some other splunk config files?

I can predict out serverclass.conf file becoming ... unwieldy.
I'd prefer to have a:
serverclass.conf:
#include serverclass-prd.conf
#include serverclass-qas.conf
#include serverclass-tst.conf
type arrangement.

--Benji

0 Karma

dart
Splunk Employee
Splunk Employee

You can have multiple serverclass configuration files, same as any other file. Just create apps for prd, qas and tst and put the relevant stanzas in each file.

yoho
Contributor

Nice tip !

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!

Data Management Digest – September 2026

    Welcome to the September 2026 edition of Data Management Digest! September brought a fresh wave of ...

Federated Search for CloudWatch Unified Data Store Is Generally Available

As organizations modernize their cloud environments, AWS workloads generate more security, operational, and ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...