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

**URL:** <https://discuss.elastic.co/t/logstash-failed-to-execute-action-logstash-pipelineaction/220675>\
**Category:** Logstash\
**Created:** [February 24, 2020, 2:26pm UTC](https://discuss.elastic.co/t/logstash-failed-to-execute-action-logstash-pipelineaction/220675 "2020-02-24T14:26:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikoscsq](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@nikoscsq](https://discuss.elastic.co/u/nikoscsq)\
**Post date:** [February 24, 2020, 2:26pm UTC](https://discuss.elastic.co/t/logstash-failed-to-execute-action-logstash-pipelineaction/220675/1 "2020-02-24T14:26:21Z")

</div>

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}  
}  
}

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 23, 2020, 2:26pm UTC](https://discuss.elastic.co/t/logstash-failed-to-execute-action-logstash-pipelineaction/220675/2 "2020-03-23T14:26:21Z")

</div>

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