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
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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