Logstash error to execute action

when i am running the logstash getting the following error,

Ignoring the 'pipelines.yml' file because modules or command line options are specified.
Starting Logstash {"logstash.version"=>"6.4.2"}
Unknown setting 'host' for elasticsearch

Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Something is wrong with your configuration.", :backtrace=>["D:/xxxx/logstash-6.4.2/logstash-core/lib/logstash/config/mixin.rb:86:in config_init'", "D:/xxxx/logstash-6.4.2/logstash-core/lib/logstash/outputs/base.rb:60:ininitialize'", "org/logstash/config/ir/compiler/OutputStrategyExt.java:224:in initialize'", "org/logstash/config/ir/compiler/OutputDelegatorExt.java:48:ininitialize'", "org/logstash/config/ir/compiler/OutputDelegatorExt.java:30:in initialize'", "org/logstash/plugins/PluginFactoryExt.java:217:inplugin'", "org/logstash/plugins/PluginFactoryExt.java:166:in plugin'", "D:/xxxx/logstash-6.4.2/logstash-core/lib/logstash/pipeline.rb:71:inplugin'", "(eval):180:in <eval>'", "org/jruby/RubyKernel.java:994:ineval'", "D:/xxxx/logstash-6.4.2/logstash-core/lib/logstash/pipeline.rb:49:in initialize'", "D:/xxxx/logstash-6.4.2/logstash-core/lib/logstash/pipeline.rb:90:ininitialize'", "D:/xxxx/logstash-6.4.2/logstash-core/lib/logstash/pipeline_action/create.rb:38:in execute'", "D:/xxxx/logstash-6.4.2/logstash-core/lib/logstash/agent.rb:309:inblock in converge_state'"]}

Please help me.

Unknown setting 'host' for elasticsearch

Check the elasticsearch output documentation for your version of Logstash to see what settings are available.

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