output { elasticsearch { hosts => ["127.0.0.1:9200"] index => "log-xxxx-%{+YYYY.MM.dd}" } }
注意index里面不能存在大写字符json
又被坑了.elasticsearch