From d260437318184d77abf1e5f73ee939cbbb47a78a Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Thu, 13 Jun 2019 13:30:38 -0700 Subject: [PATCH] Add example output from the collectd parser --- plugins/parsers/collectd/README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/plugins/parsers/collectd/README.md b/plugins/parsers/collectd/README.md index 06f14d6d4..cc7daa4f6 100644 --- a/plugins/parsers/collectd/README.md +++ b/plugins/parsers/collectd/README.md @@ -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 @@ -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 +```