diff options
Diffstat (limited to 'app-admin/logstash-bin/files/agent.conf.sample')
-rw-r--r-- | app-admin/logstash-bin/files/agent.conf.sample | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-admin/logstash-bin/files/agent.conf.sample b/app-admin/logstash-bin/files/agent.conf.sample new file mode 100644 index 000000000000..85c9b5c93d2a --- /dev/null +++ b/app-admin/logstash-bin/files/agent.conf.sample @@ -0,0 +1,29 @@ +input { + beats { + port => 5044 + } + + # may need root privileges + file { + type => "syslog" + path => [ "/var/log/*.log", "/var/log/debug", "/var/log/messages", "/var/log/syslog" ] + } + + redis { + key => logstash + data_type => list + } + + stdin { + type => "stdin" + } +} + +output { + stdout { + codec => rubydebug + } + + elasticsearch { + } +} |