Commands
Command
Prototype
Description
@INCLUDE
@INCLUDE[SERVICE]
Flush 1
@INCLUDE inputs.conf
@INCLUDE outputs.confinputs.conf
inputs.confoutputs.conf
outputs.conf@SET
@SETLast updated
Was this helpful?
@INCLUDE[SERVICE]
Flush 1
@INCLUDE inputs.conf
@INCLUDE outputs.confinputs.confoutputs.conf@SETLast updated
Was this helpful?
Was this helpful?
[INPUT]
Name cpu
Tag mycpu
[INPUT]
Name tail
Path /var/log/*.log
Tag varlog.*[OUTPUT]
Name stdout
Match mycpu
[OUTPUT]
Name es
Match varlog.*
Host 127.0.0.1
Port 9200
Logstash_Format On// DO NOT USE
@SET my_input=cpu
@SET my_output=stdout
[SERVICE]
Flush 1
[INPUT]
Name ${my_input}
[OUTPUT]
Name ${my_output}