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
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...