Logstash is not working

Logstash has an issue as per the below, i hope anyone have an idea how to solve it.

C:\Users\Administrator\Desktop\logstash-7.1.0\logstash-7.1.0\bin>logstash -f logstash.conf
Sending Logstash logs to C:/Users/Administrator/Desktop/logstash-7.1.0/logstash-
7.1.0/logs which is now configured via log4j2.properties
[2019-05-23T11:44:32,987][WARN ][logstash.config.source.multilocal] Ignoring the
'pipelines.yml' file because modules or command line options are specified
[2019-05-23T11:44:33,019][INFO ][logstash.runner ] Starting Logstash {"
logstash.version"=>"7.1.0"}
[2019-05-23T11:44:36,909][ERROR][logstash.agent ] Failed to execute ac
tion {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"L
ogStash::ConfigurationError", :message=>"Expected one of #, input, filter, outpu
t at line 140, column 1 (byte 7162) after ", :backtrace=>["C:/Users/Administrato
r/Desktop/logstash-7.1.0/logstash-7.1.0/logstash-core/lib/logstash/compiler.rb:4
1:in compile_imperative'", "C:/Users/Administrator/Desktop/logstash-7.1.0/logst ash-7.1.0/logstash-core/lib/logstash/compiler.rb:49:incompile_graph'", "C:/Use
rs/Administrator/Desktop/logstash-7.1.0/logstash-7.1.0/logstash-core/lib/logstas
h/compiler.rb:11:in block in compile_sources'", "org/jruby/RubyArray.java:2577: inmap'", "C:/Users/Administrator/Desktop/logstash-7.1.0/logstash-7.1.0/logstas
h-core/lib/logstash/compiler.rb:10:in compile_sources'", "org/logstash/executio n/AbstractPipelineExt.java:151:ininitialize'", "org/logstash/execution/JavaBas
ePipelineExt.java:47:in initialize'", "C:/Users/Administrator/Desktop/logstash- 7.1.0/logstash-7.1.0/logstash-core/lib/logstash/java_pipeline.rb:23:ininitiali
ze'", "C:/Users/Administrator/Desktop/logstash-7.1.0/logstash-7.1.0/logstash-cor
e/lib/logstash/pipeline_action/create.rb:36:in execute'", "C:/Users/Administrat or/Desktop/logstash-7.1.0/logstash-7.1.0/logstash-core/lib/logstash/agent.rb:325 :inblock in converge_state'"]}
[2019-05-23T11:44:37,659][INFO ][logstash.agent ] Successfully started
Logstash API endpoint {:port=>9600}
[2019-05-23T11:44:42,487][INFO ][logstash.runner ] Logstash shut down.

plus i have port 5514 on my .conf file and its not showing using netstat command (if started as a service)

I have changed my logstash config and it is now working fine, it seems like that was causing the issue.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.