Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
5
plugins/outputs/execd/examples/file/file.sh
Normal file
5
plugins/outputs/execd/examples/file/file.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Usage: sh file.sh output_filename.ext
|
||||
# reads from stdin and writes out to a file named on the command line.
|
||||
while read line; do
|
||||
echo "$line" >> $1
|
||||
done < /dev/stdin
|
9
plugins/outputs/execd/examples/file/telegraf.conf
Normal file
9
plugins/outputs/execd/examples/file/telegraf.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
[agent]
|
||||
interval = "1s"
|
||||
|
||||
[[inputs.execd]]
|
||||
command = ["ruby", "plugins/inputs/execd/examples/count.rb"]
|
||||
|
||||
[[outputs.execd]]
|
||||
command = ["sh", "plugins/outputs/execd/examples/file/file.sh"]
|
||||
data_format = "json"
|
Loading…
Add table
Add a link
Reference in a new issue