Logstash not working on Windows

:file=>"/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/config/mixin.rb", :line=>"153", :method=>"config_init"}
{:timestamp=>"2016-04-15T00:08:47.374000+0530", :message=>"config LogStash::Outputs::Stdout/@workers = 1", :level=>:debug, :file=>"/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/config/mixin.rb", :line=>"153", :method=>"config_init"}
{:timestamp=>"2016-04-15T00:08:47.374000+0530", :message=>"Will start workers for output", :worker_count=>1, :class=>LogStash::Outputs::Stdout, :level=>:debug, :file=>"/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/output_delegator.rb", :line=>"77", :method=>"register"}
{:timestamp=>"2016-04-15T00:08:47.384000+0530", :message=>"Starting pipeline", :id=>"main", :pipeline_workers=>8, :batch_size=>125, :batch_delay=>5, :max_inflight=>1000, :level=>:info, :file=>"/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb", :line=>"188", :method=>"start_workers"}
{:timestamp=>"2016-04-15T00:08:47.384000+0530", :message=>"Pipeline main started", :file=>"/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/agent.rb", :line=>"465", :method=>"start_pipeline"}
{:timestamp=>"2016-04-15T00:08:52.393000+0530", :message=>"Pushing flush onto pipeline", :level=>:debug, :file=>"/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb", :line=>"458", :method=>"flush"}
{:timestamp=>"2016-04-15T00:08:57.395000+0530", :message=>"Pushing flush onto pipeline", :level=>:debug, :file=>"/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb", :line=>"458", :method=>"flush"}
{:timestamp=>"2016-04-15T00:09:02.402000+0530", :message=>"Pushing flush onto pipeline", :level=>:debug, :file=>"/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb", :line=>"458", :method=>"flush"}
{:timestamp=>"2016-04-15T00:09:07.402000+0530", :message=>"Pushing flush onto pipeline", :level=>:debug, :file=>"/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb", :line=>"458", :method=>"flush"}
{:timestamp=>"2016-04-15T00:09:12.409000+0530", :message=>"Pushing flush onto pipeline", :level=>:debug, :file=>"/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb", :line=>"458", :method=>"flush"}
{:timestamp=>"2016-04-15T00:09:17.410000+0530", :message=>"Pushing flush onto pipeline", :level=>:debug,

installed on Linux and Im getting same log as above...2 plugins Twitter and codec are not defined in namespace ..not sure if that is the cause....

HI Magnus, any response ? have posted log above

I don't know what's up and I don't have time to dig into it further.

I had the same problem. One of these actions worked for me:

  • use windows like path in config file F:\elastic\data\table.csv instead of linux like path F:/elastic/data/table.csv

  • don't copy paste logstash commands from the web, because there are different kind of minus sign and dash character. try to type commands manually.

1 Like