Getting Data In

Comments in inputs.conf

peter_gianusso
Communicator

Is there a way to place comments in your inputs.conf file? My file will be over 1000 stanzas long so comments would be a nice way for someone else to understand it.

Tags (2)
1 Solution

mixolydian
Path Finder

kristian_kolb
Ultra Champion

Well - not saying that you don't need it. But usually you can make use of wildcards, recursing, whitelists/blacklists etc to make the number actual inputs.conf stanzas more manageable. Perhaps that is not possible in your case.

/k

0 Karma

peter_gianusso
Communicator

We have hundreds of servers with 1000's of log files

0 Karma

kristian_kolb
Ultra Champion

It sounds like that could be simplified somehow. I've never heard of anything like a 1000 stanzas in a single inputs.conf. To me, 50 would be a rather large inputs.conf.

What's your scenario?

/k

0 Karma

mixolydian
Path Finder

Use the hash or pound sign (#) before a comment.

http://docs.splunk.com/Documentation/Splunk/latest/admin/inputsconf

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...