Add example output from the collectd parser

This commit is contained in:
Daniel Nelson 2019-06-13 13:30:38 -07:00
parent 58e6eb6f07
commit d260437318
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 15 additions and 2 deletions

View File

@ -20,8 +20,8 @@ You can also change the path to the typesdb or add additional typesdb using
### Configuration ### Configuration
```toml ```toml
[[inputs.file]] [[inputs.socket_listener]]
files = ["example"] service_address = "udp://:25826"
## Data format to consume. ## Data format to consume.
## Each data format has its own unique set of configuration options, read ## Each data format has its own unique set of configuration options, read
@ -42,3 +42,16 @@ You can also change the path to the typesdb or add additional typesdb using
## "split" is the default behavior for backward compatability with previous versions of influxdb. ## "split" is the default behavior for backward compatability with previous versions of influxdb.
collectd_parse_multivalue = "split" collectd_parse_multivalue = "split"
``` ```
### Example Output
```
memory,type=memory,type_instance=buffered value=2520051712 1560455990829955922
memory,type=memory,type_instance=used value=3710791680 1560455990829955922
memory,type=memory,type_instance=buffered value=2520047616 1560455980830417318
memory,type=memory,type_instance=cached value=9472626688 1560455980830417318
memory,type=memory,type_instance=slab_recl value=2088894464 1560455980830417318
memory,type=memory,type_instance=slab_unrecl value=146984960 1560455980830417318
memory,type=memory,type_instance=free value=2978258944 1560455980830417318
memory,type=memory,type_instance=used value=3707047936 1560455980830417318
```