Getting Data In

Details on disabled flag in inputs.conf?

Jordan_Brough
Path Finder

In many examples (on splunk.com, in training class slides, and elsewhere) I see a "disabled = false" setting in many inputs.conf [monitor] stanzas. However, the only documentation I see for this setting is on http://docs.splunk.com/Documentation/Splunk/latest/admin/inputsconf and it doesn't list what the default is, for example. Are there other docs with more details on the setting, what the default is, and why it is included in many example stanzas but not all? In particular, do I need to be adding this setting to all my [monitor] stanzas?

Tags (2)
1 Solution

Ayn
Legend

Default is false, meaning inputs will by default be enabled unless anything else is specified. I include it out of habit, and because it provides a simple way for people doing changes to see where they can change if they want to disable an input. But, other than for brevity, there's no real reason to include disabled = false for an input that's supposed to be enabled (that I know of that is).

View solution in original post

Ayn
Legend

Default is false, meaning inputs will by default be enabled unless anything else is specified. I include it out of habit, and because it provides a simple way for people doing changes to see where they can change if they want to disable an input. But, other than for brevity, there's no real reason to include disabled = false for an input that's supposed to be enabled (that I know of that is).

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...