Monitoring Splunk

Does splunk support a foo.d/ config directory structure?

kwolf1972
New Member

It'd be handy if Splunk supported a /etc/splunk.d/ configuration structure. This would make it much easier to have puppet or chef drop config files into splunk based on the type of server its being installed on. Does Splunk already support this and I'm just seeing it?

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

I don't know what you mean by a "/etc/splunk.d/"configuration structrure, but all splunk config is contained under $SPLUNK_HOME/etc/system and (more suitable for your use) $SPLUNK_HOME/etc/apps/*. Details of how those are laid out and resolved are in the docs, here and in following sections. You can (and plenty of people do) have puppet or chef place configuration files there. What exactly are you trying to do that this configuration structure doesn't work with, or that is makes harder?

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Just to clarify, the term "apps" is probably misleading. An "app" is nothing more than a configuration bundle, i.e., a set of configuration files, that are merged with all other configuration bundles present on the system.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Then you would do it using $SPLUNK_HOME/etc/apps/*. This has the capabilities equivalent to what you're asking for.

0 Karma

kwolf1972
New Member

Similar to the apache conf.d/ directory where all .conf files inside that directory are parsed. It'd be something similar to $SPLUNK_HOME/etc/system/local/inputs.d/*.conf.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...