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!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...