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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...