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!

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

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 ...