# Index pattern is not created for Centralized pipeline

**URL:** <https://discuss.elastic.co/t/index-pattern-is-not-created-for-centralized-pipeline/160286>\
**Category:** Logstash\
**Created:** [December 11, 2018, 4:12am UTC](https://discuss.elastic.co/t/index-pattern-is-not-created-for-centralized-pipeline/160286 "2018-12-11T04:12:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Susmitha\_Devathi](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Susmitha\_Devathi](https://discuss.elastic.co/u/Susmitha_Devathi)\
**Post date:** [December 11, 2018, 4:12am UTC](https://discuss.elastic.co/t/index-pattern-is-not-created-for-centralized-pipeline/160286/1 "2018-12-11T04:12:33Z")

</div>

Hi Team,

## I have created centralized pipeline with parent and child pipelines ,but i'm unable to create index pattern. I have written parent and child pipelines in below format

**parent:**

config/pipelines.yml

- pipeline.id: beats7  
config.string: |  
input{  
beats {  
port =\> 8565  
}  
}  
output{

* * *

**Child** :

- pipeline.id: beats3  
config.string: |  
input {  
pipeline { address =\> beats3 }  
}  
filter{  
if "UMS" in [tags]  
{  
dissect {  
mapping =\> {  
message =\> "%{logLevel}|%{jvmInfo}| %{datetime} | %  
{errorMessage}" }  
}  
}  
}

output{

if "UMS" in [tags] {  
elasticsearch {  
hosts =\> ["dla-w01abc01"]  
manage\_template =\> false  
#ssl =\> true  
#ssl\_certificate\_verification =\> true  
user =\> "#####"  
password =\> "########"  
index =\> "ums-%{+YYYY.MM.dd}"  
}  
stdout {  
codec =\> rubydebug  
}  
}  
}

* * *

i got error in logs as  
[2018-12-11T09:22:57,786][ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:beats3, :exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of #, input, filter, output at line 2, column 1 (byte 25) after # config/pipelines.yml\r\n", :backtrace=\>["/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:42:in `compile_imperative'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:50:in`compile\_graph'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:12:in `block in compile_sources'", "org/jruby/RubyArray.java:2486:in`map'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:11:in `compile_sources'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/pipeline.rb:49:in`initialize'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/pipeline.rb:167:in `initialize'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/pipeline_action/create.rb:40:in`execute'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/agent.rb:305:in `block in converge_state'"]} [2018-12-11T09:22:57,786][ERROR][logstash.agent] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:beats7, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of #, input, filter, output at line 1, column 1 (byte 1) after ", :backtrace=>["/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:42:in`compile\_imperative'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:50:in `compile_graph'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:12:in`block in compile\_sources'", "org/jruby/RubyArray.java:2486:in `map'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/compiler.rb:11:in`compile\_sources'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/pipeline.rb:49:in `initialize'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/pipeline.rb:167:in`initialize'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/pipeline\_action/create.rb:40:in `execute'", "/opt/elk/v630/logstash-6.3.0/logstash-core/lib/logstash/agent.rb:305:in`block in converge\_state'"]}

Kindly let me know if there are any changes in configurations.

Thanks in advance.

Regards,  
D. Susmitha

---

<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:** [January 8, 2019, 4:12am UTC](https://discuss.elastic.co/t/index-pattern-is-not-created-for-centralized-pipeline/160286/2 "2019-01-08T04:12:34Z")

</div>

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