# \[ERROR\]\[logstash.agent \] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of #,

**URL:** https://discuss.elastic.co/t/error-logstash-agent-failed-to-execute-action-action-logstash-create-pipeline-id-main-exception-logstash-configurationerror-message-expected-one-of/139651
**Category:** Logstash
**Created:** [July 12, 2018, 12:07am UTC](https://discuss.elastic.co/t/error-logstash-agent-failed-to-execute-action-action-logstash-create-pipeline-id-main-exception-logstash-configurationerror-message-expected-one-of/139651 "2018-07-12T00:07:08Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Shraddha\_Srivastav](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Shraddha\_Srivastav](https://discuss.elastic.co/u/Shraddha_Srivastav)
#### Post date: [July 12, 2018, 12:07am UTC](https://discuss.elastic.co/t/error-logstash-agent-failed-to-execute-action-action-logstash-create-pipeline-id-main-exception-logstash-configurationerror-message-expected-one-of/139651/1 "2018-07-12T00:07:08Z")

</div>

Following is my config file:

input {  
file{  
path =\> "C:\Users\shraddhasrivastav\Downloads\cars.csv"  
start\_position =\> "beginning"  
sincedb\_path =\> "dev/null"  
}

```
stdin { 

	} 

```

}

filter{  
csv{  
columns =\> ["TimeOfDay", "BMU\_Debug\_Wnty\_Tot\_s\_NRuntwo","RBMU\_Stats\_Temp\_Cell\_Max"]  
}

```
mutate {convert => ["TimeOfDay", "timestamp"] }
mutate {convert => ["BMU_Debug_Wnty_Tot_s_NRuntwo", "integer"] }
mutate {convert => ["RBMU_Stats_Temp_Cell_Max", "float"] }

```

}

output {  
elasticsearch { hosts =\> ["localhost:9200"] }

}

stdout {}

**Error**

[2018-07-11T17:01:49,442][DEBUG][logstash.agent] Converging pipelines state {:actions\_count=\>1}  
[2018-07-11T17:01:49,466][DEBUG][logstash.agent] Executing action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main}  
[2018-07-11T17:01:50,224]**[ERROR]**[logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of #, input, filter, output at line 29, column 1 (byte 526) after ", :backtrace=\>["C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/compiler.rb:42:in `compile_imperative'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/compiler.rb:50:in`compile\_graph'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/compiler.rb:12:in `block in compile_sources'", "org/jruby/RubyArray.java:2486:in`map'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/compiler.rb:11:in `compile_sources'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/pipeline.rb:49:in`initialize'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/pipeline.rb:167:in `initialize'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/pipeline_action/create.rb:40:in`execute'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/agent.rb:305:in `block in converge\_state'"]}  
[2018-07-11T17:01:50,376][DEBUG][logstash.agent] Starting puma  
[2018-07-11T17:01:50,401][DEBUG][logstash.instrument.periodicpoller.os] Stopping  
[2018-07-11T17:01:50,406][DEBUG][logstash.agent] Trying to start WebServer {:port=\>9600}  
[2018-07-11T17:01:50,456][DEBUG][logstash.instrument.periodicpoller.jvm] Stopping  
[2018-07-11T17:01:50,467][DEBUG][logstash.instrument.periodicpoller.persistentqueue] Stopping  
[2018-07-11T17:01:50,469][DEBUG][logstash.instrument.periodicpoller.deadletterqueue] Stopping  
[2018-07-11T17:01:50,546][DEBUG][logstash.api.service] [api-service] start  
[2018-07-11T17:01:50,883][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2018-07-11T17:01:55,620][DEBUG][logstash.agent] Shutting down all pipelines {:pipelines\_count=\>0}  
[2018-07-11T17:01:55,622][DEBUG][logstash.agent] Converging pipelines state {:actions\_count=\>0}

please help to fix this!

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [July 12, 2018, 6:07am UTC](https://discuss.elastic.co/t/error-logstash-agent-failed-to-execute-action-action-logstash-create-pipeline-id-main-exception-logstash-configurationerror-message-expected-one-of/139651/2 "2018-07-12T06:07:24Z")

</div>

Start by putting `stdout {}` inside the output block.

> sincedb\_path =\> "dev/null"

While unrelated to the error message you quote, change "dev/null" to "nul".

---

<div class="post-metadata">

### Author: ![Shraddha\_Srivastav](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Shraddha\_Srivastav](https://discuss.elastic.co/u/Shraddha_Srivastav)
#### Post date: [July 12, 2018, 4:10pm UTC](https://discuss.elastic.co/t/error-logstash-agent-failed-to-execute-action-action-logstash-create-pipeline-id-main-exception-logstash-configurationerror-message-expected-one-of/139651/3 "2018-07-12T16:10:49Z")

</div>

Hey,

Thanks for replying. I did the necessary changes it still gives the same following error:

[2018-07-12T09:08:49,422][INFO][logstash.outputs.elasticsearch] Attempting to install template {:manage\_template=\>{"template"=\>"logstash-_", "version"=\>60001, "settings"=\>{"index.refresh\_interval"=\>"5s"}, "mappings"=\>{"default"=\>{"dynamic\_templates"=\>[{"message\_field"=\>{"path\_match"=\>"message", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false}}}, {"string\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false, "fields"=\>{"keyword"=\>{"type"=\>"keyword", "ignore\_above"=\>256}}}}}], "properties"=\>{"@timestamp"=\>{"type"=\>"date"}, "@version"=\>{"type"=\>"keyword"}, "geoip"=\>{"dynamic"=\>true, "properties"=\>{"ip"=\>{"type"=\>"ip"}, "location"=\>{"type"=\>"geo\_point"}, "latitude"=\>{"type"=\>"half\_float"}, "longitude"=\>{"type"=\>"half\_float"}}}}}}}}  
[2018-07-12T09:08:49,523][DEBUG][logstash.outputs.elasticsearch] Found existing Elasticsearch template. Skipping template management {:name=\>"logstash"}  
[2018-07-12T09:08:49,610][ERROR][logstash.pipeline] Error registering plugin {:pipeline\_id=\>"main", :plugin=\>"#\<LogStash::FilterDelegator:0x1dc3925f @metric\_events\_out=org.jruby.proxy.org.logstash.instrument.metrics.counter.LongCounter$Proxy2 - name: out value:0, @metric\_events\_in=org.jruby.proxy.org.logstash.instrument.metrics.counter.LongCounter$Proxy2 - name: in value:0, @metric\_events\_time=org.jruby.proxy.org.logstash.instrument.metrics.counter.LongCounter$Proxy2 - name: duration\_in\_millis value:0, @id="85f0a6661e074ec8ff1f4587d3d1ab7c7c56a14c88a61342135d1d2bb913eb8a", @klass=LogStash::Filters::Mutate, @metric\_events=#\<LogStash::Instrument::NamespacedMetric:0x4cff0f6d @metric=#\<LogStash::Instrument::Metric:0x33da489f @collector=#\<LogStash::Instrument::Collector:0x38430eb8 @agent=nil, @metric\_store=#\<LogStash::Instrument::MetricStore:0x39132285 @store=#\<Concurrent:🗺0x00000000000fb0 entries=2 default\_proc=nil\>, @structured\_lookup\_mutex=#Mutex:0x4cca1cdb, @fast\_lookup=#\<Concurrent:🗺0x00000000000fb4 entries=66 default\_proc=nil\>\>\>\>, @namespace\_name=[:stats, :pipelines, :main, :plugins, :filters, :"85f0a6661e074ec8ff1f4587d3d1ab7c7c56a14c88a61342135d1d2bb913eb8a", :events]\>, @filter=\<LogStash::Filters::Mutate convert=\>{"TimeOfDay"=\>"timestamp", "BMU\_Debug\_Wnty\_Tot\_s\_NRuntwo"=\>"integer", "RBMU\_Stats\_Temp\_Cell\_Max"=\>"float"}, id=\>"85f0a6661e074ec8ff1f4587d3d1ab7c7c56a14c88a61342135d1d2bb913eb8a", enable\_metric=\>true, periodic\_flush=\>false\>\>", :error=\>"translation missing: en.logstash.agent.configuration.invalid\_plugin\_register", :thread=\>"#\<Thread:0x7f683d43 run\>"}  
[2018-07-12T09:08:49,649][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ParNew"}  
[2018-07-12T09:08:49,679][DEBUG][logstash.filters.csv] Closing {:plugin=\>"LogStash::Filters::CSV"}  
[2018-07-12T09:08:49,719][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=\>"ConcurrentMarkSweep"}  
[2018-07-12T09:08:49,766][ERROR][logstash.pipeline] Pipeline aborted due to error {:pipeline\_id=\>"main", :exception=\>#\<LogStash::ConfigurationError: translation missing: en.logstash.agent.configuration.invalid\_plugin\_register\>, :backtrace=\>["C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/vendor/bundle/jruby/2.3.0/gems/logstash-filter-mutate-3.3.2/lib/logstash/filters/mutate.rb:219:in `block in register'", "org/jruby/RubyHash.java:1343:in`each'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/vendor/bundle/jruby/2.3.0/gems/logstash-filter-mutate-3.3.2/lib/logstash/filters/mutate.rb:217:in `register'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/pipeline.rb:340:in`register\_plugin'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/pipeline.rb:351:in `block in register_plugins'", "org/jruby/RubyArray.java:1734:in`each'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/pipeline.rb:351:in `register_plugins'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/pipeline.rb:729:in`maybe\_setup\_out\_plugins'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/pipeline.rb:361:in `start_workers'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/pipeline.rb:288:in`run'", "C:/Users/shraddhasrivastav/Downloads/logstash-6.3.1/logstash-core/lib/logstash/pipeline.rb:248:in `block in start'"], :thread=\>"#\<Thread:0x7f683d43 run\>"}  
[2018-07-12T09:08:49,814][ERROR][logstash.agent] Failed to execute action {:id=\>:main, :action\_type=\>LogStash::ConvergeResult::FailedAction, :message=\>"Could not execute action: PipelineAction::Create, action\_result: false", :backtrace=\>nil}  
[2018-07-12T09:08:49,898][DEBUG][logstash.agent] Starting puma  
[2018-07-12T09:08:49,945][DEBUG][logstash.instrument.periodicpoller.os] Stopping  
[2018-07-12T09:08:49,946][DEBUG][logstash.agent] Trying to start WebServer {:port=\>9600}  
[2018-07-12T09:08:50,008][DEBUG][logstash.instrument.periodicpoller.jvm] Stopping  
[2018-07-12T09:08:50,020][DEBUG][logstash.instrument.periodicpoller.persistentqueue] Stopping  
[2018-07-12T09:08:50,034][DEBUG][logstash.instrument.periodicpoller.deadletterqueue] Stopping  
[2018-07-12T09:08:50,089][DEBUG][logstash.api.service] [api-service] start  
[2018-07-12T09:08:50,400][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2018-07-12T09:08:55,144][DEBUG][logstash.agent] Shutting down all pipelines {:pipelines\_count=\>1}  
[2018-07-12T09:08:55,153][DEBUG][logstash.agent] Converging pipelines state {:actions\_count=\>1}  
[2018-07-12T09:08:55,164][DEBUG][logstash.agent] Executing action {:action=\>LogStash::PipelineAction::Stop/pipeline\_id:main}  
[2018-07-12T09:08:55,198][DEBUG][logstash.pipeline] Stopping inputs {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x7f683d43 dead\>"}  
[2018-07-12T09:08:55,206][DEBUG][logstash.inputs.file] Stopping {:plugin=\>"LogStash::Inputs::File"}  
[2018-07-12T09:08:55,212][DEBUG][logstash.inputs.stdin] Stopping {:plugin=\>"LogStash::Inputs::Stdin"}  
[2018-07-12T09:08:55,219][DEBUG][logstash.pipeline] Stopped inputs {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x7f683d43 dead\>"}

---

<div class="post-metadata">

### Author: ![Shraddha\_Srivastav](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Shraddha\_Srivastav](https://discuss.elastic.co/u/Shraddha_Srivastav)
#### Post date: [July 12, 2018, 4:11pm UTC](https://discuss.elastic.co/t/error-logstash-agent-failed-to-execute-action-action-logstash-create-pipeline-id-main-exception-logstash-configurationerror-message-expected-one-of/139651/4 "2018-07-12T16:11:23Z")

</div>

@magnusbaeck please help to sort this! TIA

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [July 12, 2018, 5:36pm UTC](https://discuss.elastic.co/t/error-logstash-agent-failed-to-execute-action-action-logstash-create-pipeline-id-main-exception-logstash-configurationerror-message-expected-one-of/139651/5 "2018-07-12T17:36:58Z")

</div>

[As documented](https://www.elastic.co/guide/en/logstash/current/plugins-filters-mutate.html#plugins-filters-mutate-convert), "timestamp" is not a valid conversion type for the mutate filter's convert option. I think the csv filter can parse timestamps, but otherwise the date filter is what's normally used for this.

---

<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: [August 9, 2018, 5:37pm UTC](https://discuss.elastic.co/t/error-logstash-agent-failed-to-execute-action-action-logstash-create-pipeline-id-main-exception-logstash-configurationerror-message-expected-one-of/139651/6 "2018-08-09T17:37:06Z")

</div>

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