|Callbacks:||config, log, notification|
|Copyright:||2013 Pierre-Yves Ritschard|
|List of Plugins|
This log logstash plugin writes collectd logs and events as Logstash JSON formatted events.
<Plugin log_logstash> LogLevel @DEFAULT_LOG_LEVEL@ File "@localstatedir@/log/@PACKAGE_NAME@.json.log" </Plugin>
Sets the log-level. If, for example, set to notice, then all events with severity notice, warning, or err will be written to the logfile.
Please note that debug is only available if collectd has been compiled with debugging support.
Sets the file to write log messages to. The special strings stdout and stderr can be used to write to the standard output and standard error channels, respectively. This, of course, only makes much sense when collectd is running in foreground- or non-daemon-mode.
Note: There is no need to notify the daemon after moving or removing the log file (e. g. when rotating the logs). The plugin reopens the file for each line it writes.
None yet. Add one now!