collectd
editcollectd
edit- Version: 3.0.2
- Released on: 2016-07-14
- Changelog
- Compatible: 5.1.1.1, 5.0.0, 2.4.1, 2.4.0, 2.3.4
encoding utf-8
Synopsis
editThis plugin supports the following configuration options:
Required configuration options:
collectd {
}
Available configuration options:
Details
edit
authfile
edit- Value type is string
- There is no default value for this setting.
Path to the authentication file. This file should have the same format as
the AuthFile
in collectd. You only need to set this option if the security_level is set to
Sign or Encrypt
enable_metric
edit- Value type is boolean
-
Default value is
true
Disable or enable metric logging for this specific plugin instance by default we record all the metrics we can, but you can disable metrics collection for a specific plugin.
id
edit- Value type is string
- There is no default value for this setting.
Add a unique ID to the plugin instance, this ID is used for tracking
information for a specific configuration of the plugin.
output {
stdout {
id => "ABC"
}
}
If you don’t explicitely set this variable Logstash will generate a unique name.
nan_handling
edit-
Value can be any of:
change_value,warn,drop -
Default value is
"change_value"
What to do when a value in the event is NaN (Not a Number)
-
change_value (default): Change the
NaNto the value of the nan_value option and addnan_tagas a tag -
warn: Change the
NaNto the value of the nan_value option, print a warning to the log and addnan_tagas a tag -
drop: Drop the event containing the
NaN(this only drops the single event, not the whole packet)
nan_tag
edit- Value type is string
-
Default value is
"_collectdNaN"
The tag to add to the event if a NaN value was found
Set this to an empty string ('') if you don’t want to tag
nan_value
edit- Value type is number
-
Default value is
0
Only relevant when nan_handeling is set to change_value
Change NaN to this configured value
prune_intervals
edit- Value type is boolean
-
Default value is
true
Prune interval records. Defaults to true.
security_level
edit-
Value can be any of:
None,Sign,Encrypt -
Default value is
"None"
Security Level. Default is None. This setting mirrors the setting from the
collectd Network plugin