input { stdin { type => "syslog" } } output { # stdout {codec => rubydebug } elasticsearch { hosts => "localhost:9200" } }