Fix telegraf example arguments (#2788)
Many of the examples provided within documentation are using a single dash for the command line arguments, but the telegraf executable explicitly has two dashes. There are also some inconsistencies with the ordering of the command line argument examples. I've ordered them so that the examples will show: config, config-directory, input-filter, test
This commit is contained in:
committed by
Daniel Nelson
parent
a871b64ac3
commit
61be19b1f0
@@ -27,7 +27,7 @@ Fields are created dynamicaly depending on the sensors. All fields are float.
|
||||
|
||||
#### Default
|
||||
```
|
||||
$ telegraf -config telegraf.conf -input-filter sensors -test
|
||||
$ telegraf --config telegraf.conf --input-filter sensors --test
|
||||
* Plugin: sensors, Collection 1
|
||||
> sensors,chip=power_meter-acpi-0,feature=power1 power_average=0,power_average_interval=300 1466751326000000000
|
||||
> sensors,chip=k10temp-pci-00c3,feature=temp1 temp_crit=70,temp_crit_hyst=65,temp_input=29,temp_max=70 1466751326000000000
|
||||
|
||||
Reference in New Issue
Block a user