Skip to content

Commit

Permalink
Add example output from the collectd parser
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson committed Jun 13, 2019
1 parent 58e6eb6 commit d260437
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions plugins/parsers/collectd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ You can also change the path to the typesdb or add additional typesdb using
### Configuration

```toml
[[inputs.file]]
files = ["example"]
[[inputs.socket_listener]]
service_address = "udp://:25826"

## Data format to consume.
## Each data format has its own unique set of configuration options, read
Expand All @@ -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.
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
```

0 comments on commit d260437

Please sign in to comment.