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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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