windows - Logstash input not working -
i trying use nio2path logstash 1.4.1 (https://logstash.jira.com/browse/logstash-2229). trying thix fix because experimencing serious troubles when use glob path on windows parse folder of iis logs.
this config:
input { nio2path { path=>"logs/*.log" } } output { stdout { codec => rubydebug } }
and when run agent:
logstash-1.4.1\bin\logstash agent -f myconfig.config -l log\agent.log
nothing happens, console keep running without crashing or display errors. message warning log written in log\agent.log:
{:timestamp=>"2014-06-10t11:32:45.585000+0200", :message=>"using milestone 1 input plugin 'nio2path'. plugin should work, benefit use folks you. please let know if find bugs or have suggestions on how improve plugin. more information on plugin milestones, see http://logstash.net/docs/1.4.1/plugin-milestones", :level=>:warn} {:timestamp=>"2014-06-10t15:13:47.846000+0200", :message=>"interrupt received. shutting down pipeline.", :level=>:warn}
hope useful you.
input { nio2path { path=>"logs/*.log" } } output { stdout { codec => rubydebug } elasticsearch { cluster => "cluster name" } }
Comments
Post a Comment