input { beats { port => 5044 } } output { elasticsearch { hosts => "localhost:9200" index => "postfix-%{+YYYY.MM.dd}" } }