# Empty configuration for pipeline\_id

**URL:** <https://discuss.elastic.co/t/empty-configuration-for-pipeline-id/160968>\
**Category:** Logstash\
**Created:** [December 14, 2018, 8:30pm UTC](https://discuss.elastic.co/t/empty-configuration-for-pipeline-id/160968 "2018-12-14T20:30:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![perryparktung](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@perryparktung](https://discuss.elastic.co/u/perryparktung)\
**Post date:** [December 14, 2018, 8:30pm UTC](https://discuss.elastic.co/t/empty-configuration-for-pipeline-id/160968/1 "2018-12-14T20:30:48Z")

</div>

Hi,

I am trying to configure for centralized pipeline management but failed. Would you please help check why? Thanks..

**pipeline.yml**

> ```
> - pipeline.id: mainpipe
> path.config: "/etc/logstash/conf.d/*.conf"
> 
> ```

**ll path.config**

> ```
> -rw-r--r-- 1 root root 165 Nov 26 10:44 /etc/logstash/conf.d/1_filebeat_input.conf
> -rw-r--r-- 1 root root 2397 Nov 26 10:44 /etc/logstash/conf.d/2_aa_json_filter.conf
> -rw-r--r-- 1 root root 4316 Nov 26 10:44 /etc/logstash/conf.d/2_channel_dst_filter.conf
> -rw-r--r-- 1 root root 193 Nov 26 10:44 /etc/logstash/conf.d/2_elk_demo.conf
> -rw-r--r-- 1 root root 3121 Nov 26 10:44 /etc/logstash/conf.d/2_olb_elk_filter.conf
> -rw-r--r-- 1 root root 1727 Nov 26 10:44 /etc/logstash/conf.d/2_safebanking_filter.conf
> -rw-r--r-- 1 root root 1696 Nov 26 10:44 /etc/logstash/conf.d/2_smartdss_filter.conf
> -rw-r--r-- 1 root root 197 Nov 26 10:44 /etc/logstash/conf.d/2_tde_filter.conf
> -rw-r--r-- 1 root root 1372 Nov 26 10:44 /etc/logstash/conf.d/2_z_channel_customerconnect_filter.conf
> -rw-r--r-- 1 root root 1476 Nov 26 10:44 /etc/logstash/conf.d/3_channel_customerconnect_filter.conf
> -rw-rw-r-- 1 plam14 plam14 1735 Dec 7 15:54 /etc/logstash/conf.d/7_common_filter.conf
> -rw-r--r-- 1 root root 496 Dec 12 12:33 /etc/logstash/conf.d/9_elasticsearch_output.conf
> 
> ```

**logstash.yml**

> ```
> path.data: /var/lib/logstash
> path.logs: /var/log/logstash
> xpack.monitoring.enabled: true
> xpack.monitoring.elasticsearch.username: logstash_system
> xpack.monitoring.elasticsearch.password: logstash_system
> xpack.monitoring.elasticsearch.url: "127.0.0.1:9200"
> xpack.management.enabled: true
> xpack.management.elasticsearch.username: logstash_internal
> xpack.management.elasticsearch.password: logstash_internal
> xpack.management.elasticsearch.url: "127.0.0.1:9200"
> xpack.management.pipeline.id: ["mainpipe"]
> xpack.management.logstash.poll_interval: 5s
> 
> ```

**logstash.service**

> ```
> [Unit]
> Description=logstash
> [Service]
> Type=simple
> User=logstash
> Group=logstash
> EnvironmentFile=-/etc/default/logstash
> EnvironmentFile=-/etc/sysconfig/logstash
> ExecStart=/usr/share/logstash/bin/logstash
> Restart=always
> WorkingDirectory=/
> Nice=19
> LimitNOFILE=16384
> [Install]
> WantedBy=multi-user.target
> 
> ```

**Logstash Log**

> [2018-12-14T12:24:19,913][INFO][logstash.configmanagement.bootstrapcheck] Using Elasticsearch as config store {:pipeline\_id=\>["mainpipe"], :poll\_interval=\>"5000000000ns"}  
> [2018-12-14T12:24:22,476][INFO][logstash.configmanagement.elasticsearchsource] Configuration Management License OK  
> [2018-12-14T12:24:23,124][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.5.3"}  
> [2018-12-14T12:24:24,957][INFO][logstash.monitoring.internalpipelinesource] Monitoring License OK  
> [2018-12-14T12:24:24,959][INFO][logstash.monitoring.internalpipelinesource] Validated license for monitoring. Enabling monitoring pipeline.  
> [2018-12-14T12:24:25,064][INFO][logstash.configmanagement.elasticsearchsource] Elasticsearch pool URLs updated {:changes=\>{:removed=\>, :added=\>[[http://logstash\_internal:xxxxxx@127.0.0.1:9200/](http://logstash_internal:xxxxxx@127.0.0.1:9200/)]}}  
> [2018-12-14T12:24:25,076][WARN][logstash.configmanagement.elasticsearchsource] Restored connection to ES instance {:url=\>"[http://logstash\_internal:xxxxxx@127.0.0.1:9200/](http://logstash_internal:xxxxxx@127.0.0.1:9200/)"}  
> [2018-12-14T12:24:25,087][INFO][logstash.configmanagement.elasticsearchsource] ES Output version determined {:es\_version=\>6}  
> [2018-12-14T12:24:25,088][WARN][logstash.configmanagement.elasticsearchsource] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document \_type {:es\_version=\>6}  
> [2018-12-14T12:24:25,172][ERROR][logstash.config.sourceloader] Could not fetch all the sources {:exception=\>LogStash::ConfigManagement::ElasticsearchSource::RemoteConfigError, :message=\>"Empty configuration for pipeline\_id: mainpipe", :backtrace=\>["/usr/share/logstash/x-pack/lib/config\_management/elasticsearch\_source.rb:99:in `get_pipeline'", "/usr/share/logstash/x-pack/lib/config_management/elasticsearch_source.rb:85:in `block in pipeline\_configs'", "org/jruby/RubyArray.java:2481:in `collect'", "/usr/share/logstash/x-pack/lib/config_management/elasticsearch_source.rb:84:in `pipeline\_configs'", "/usr/share/logstash/logstash-core/lib/logstash/config/source\_loader.rb:61:in `block in fetch'", "org/jruby/RubyArray.java:2481:in `collect'", "/usr/share/logstash/logstash-core/lib/logstash/config/source\_loader.rb:60:in `fetch'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:150:in `converge\_state\_and\_update'", "/usr/share/logstash/x-pack/lib/monitoring/internal\_pipeline\_source.rb:49:in `enable_monitoring'", "/usr/share/logstash/x-pack/lib/monitoring/internal_pipeline_source.rb:39:in `update\_license\_state'", "/usr/share/logstash/x-pack/lib/license\_checker/licensed.rb:39:in `setup_license_checker'", "/usr/share/logstash/x-pack/lib/monitoring/internal_pipeline_source.rb:23:in `initialize'", "/usr/share/logstash/x-pack/lib/monitoring/monitoring.rb:98:in `after_agent'", "org/logstash/execution/EventDispatcherExt.java:69:in `execute'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:355:in `execute'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:237:in `run'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/usr/share/logstash/lib/bootstrap/environment.rb:73:in `'"]}

---

<div class="post-metadata">

**Author:** ![perryparktung](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@perryparktung](https://discuss.elastic.co/u/perryparktung)\
**Post date:** [December 18, 2018, 4:55pm UTC](https://discuss.elastic.co/t/empty-configuration-for-pipeline-id/160968/2 "2018-12-18T16:55:21Z")

</div>

Turns out it's okay to have that error.  
The noob mistake I had is that I didn't turn on `xpack.security.enabled` in kibana.yml.  
When I turned it on, the error still persist in logstash log.  
But when I created the pipeline `mainpipe` in Kibana UI (the pipeline I configured in logstash.yml), logstash will refresh itself and every works now!

---

<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 15, 2019, 4:55pm UTC](https://discuss.elastic.co/t/empty-configuration-for-pipeline-id/160968/3 "2019-01-15T16:55:33Z")

</div>

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