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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...