Logstash Failed to execute {:action=>LogStash::PipelineAction}

Hello engineers, could you please help me?
i start the logstash:
.\logstash -f DAP.conf
but i get:
Starting Logstash {"logstash.version"=>"7.6.0"}
[2020-02-24T16:04:55,330][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [0-9], [ \t\r\n], "#", "}" at line 1, column 91 (byte 91) after output{rabbitmq{exchange=>test_exchange exchange_type =>fanout host=>127.0", :backtrace=>["C:/ELK/logstash-7.6.0/logstash-core/lib/logstash/compiler.rb:47:in compile_imperative'", "C:/ELK/logstash-7.6.0/logstash-core/lib/logstash/compiler.rb:55:in compile_graph'", "C:/ELK/logstash-7.6.0/logstash-core/lib/logstash/compiler.rb:17:in block in compile_sources'", "org/jruby/RubyArray.java:2580:in map'", "C:/ELK/logstash-7.6.0/logstash-core/lib/logstash/compiler.rb:14:in compile_sources'", "org/logstash/execution/AbstractPipelineExt.java:161:in initialize'", "org/logstash/execution/JavaBasePipelineExt.java:47:in initialize'", "C:/ELK/logstash-7.6.0/logstash-core/lib/logstash/java_pipeline.rb:27:in initialize'", "C:/ELK/logstash-7.6.0/logstash-core/lib/logstash/pipeline_action/create.rb:36:in execute'", "C:/ELK/logstash-7.6.0/logstash-core/lib/logstash/agent.rb:326:in block in converge_state'"]}
[2020-02-24T16:04:55,734][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2020-02-24T16:05:00,629][INFO ][logstash.runner ] Logstash shut down.

This is my DAP.conf file:

input {
file{
path => "C:\ELK\logstash-7.6.0\data\dap.csv"
start_position => "beginning"
type => "csv"
sincedb_path => "nul"
#mode => "read"
}
}
filter {
csv {
separator => ","
columns =>
["id","dapName" ]
}
}

output {
elasticsearch {
hosts => ["localhost:9200"]
index => "dap"
index_type => "mc_data"
#stdout{codec => json}
}
}

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