Skip to content

csv plugin

Plugin name csv
Type write
Callbacks config, write
Status supported
Since 4.0
Copyright 2007–2009 Florian octo Forster, 2009 Doug MacEachern
License GPLv2
Configuration collectd.conf(5)

The CSV plugin writes values to plain text files in the well-known comma separated values (CSV) format. These files can then be imported in many other programs, such as the popular spreadsheet-programs.

Synopsis

 <Plugin "csv">
   DataDir "/var/lib/collectd/csv"
   StoreRates true
 </Plugin>

Dependencies

  • none

Configuration

Configuration options · from collectd.conf(5)

See this section in the full configuration reference

DataDir Directory
Set the directory to store CSV-files under. Per default CSV-files are generated beneath the daemon's working directory, i. e. the BaseDir. 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.
StoreRates true|false
If set to true, convert counter values to rates. If set to false (the default) counter values are stored as is, i. e. as an increasing integer number.