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!

Automated Threat Analysis: Available in ES Premier

Automated Threat Analysis: Centralize and Accelerate Phishing Investigations in Splunk Enterprise ...

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Best Practices: Splunk auto adjust pipeline queue

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