标签:
Logstash.Conf
input { file { type => "SSRCode" path => "E:/FTPRootWorkSpace/SD/2016*/2016*/*.txt" start_position => "beginning" } } filter { csv { columns => ["Code","Source"] separator => "," } } # output logs to console and to elasticsearch output { stdout {} elasticsearch { hosts => ["132.16.1.86:9200"] } }
标签:
原文地址:http://www.cnblogs.com/haoliansheng/p/5266826.html