Getting Data In

Input.conf defaults configuration for commented settings

jmfiallos
New Member

What does it mean when these settings are commented out in the inputs.conf? Are those inputs disabled by default?

## Logical Disk
#[perfmon://LogicalDisk]
#counters = % Free Space; Free Megabytes; Current Disk Queue Length; % Disk Time; Avg. Disk Queue Length; % Disk Read Time; Avg. Disk Read Queue Length; % Disk Write Time; Avg. Disk Write Queue Length; Avg. Disk sec/Transfer; Avg. Disk sec/Read; Avg. Disk sec/Write; Disk Transfers/sec; Disk Reads/sec; Disk Writes/sec; Disk Bytes/sec; Disk Read Bytes/sec; Disk Write Bytes/sec; Avg. Disk Bytes/Transfer; Avg. Disk Bytes/Read; Avg. Disk Bytes/Write; % Idle Time; Split IO/Sec
#disabled = 1
#instances = *
#interval = 10
#object = LogicalDisk
#useEnglishOnly=true
#index = perfmon
Tags (2)
0 Karma
1 Solution

bcyates
Communicator

The entire input is disabled. The input stanza is also commented out.

The comment means none of that is active.

So if you want to enable the input, you would uncomment the #[perfmon://LogicalDisk] stanza. You would also uncomment the settings under the stanza. Granted, those settings are optional, but are good to use with this input.

View solution in original post

0 Karma

bcyates
Communicator

The entire input is disabled. The input stanza is also commented out.

The comment means none of that is active.

So if you want to enable the input, you would uncomment the #[perfmon://LogicalDisk] stanza. You would also uncomment the settings under the stanza. Granted, those settings are optional, but are good to use with this input.

0 Karma

jmfiallos
New Member

"#disabled = 1"
"#instances = *"
"#interval = 10"
"#object = LogicalDisk"
"#useEnglishOnly=true"
"#index = perfmon"

Just so it's clear as to what I am talking about.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...