# Unable to get Logstash Centralised Management working

**URL:** <https://discuss.elastic.co/t/unable-to-get-logstash-centralised-management-working/247091>\
**Category:** Logstash\
**Tags:** fleet\
**Created:** [September 1, 2020, 12:42pm UTC](https://discuss.elastic.co/t/unable-to-get-logstash-centralised-management-working/247091 "2020-09-01T12:42:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.preston](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@david.preston](https://discuss.elastic.co/u/david.preston)\
**Post date:** [September 1, 2020, 12:42pm UTC](https://discuss.elastic.co/t/unable-to-get-logstash-centralised-management-working/247091/1 "2020-09-01T12:42:58Z")

</div>

This morning i tried to move an existing logstash to use Centralised Management.

I configured the logstash yml as per documentation.

xpack.management.enabled: true  
xpack.management.pipeline.id: ["_{pipeline-id}_"]  
xpack.management.elasticsearch.username: "_{username}_"  
xpack.management.elasticsearch.password: "_{password}_"  
xpack.management.elasticsearch.hosts: ["_{elastic host}_"]

I used the details directly from the existing pipelines output: username, password, elastic hosts.

I confirmed _{username}_ has:  
logstash\_admin  
logstash\_writer

as per:  
[https://www.elastic.co/guide/en/logstash/7.x/logstash-centralized-pipeline-management.html](https://www.elastic.co/guide/en/logstash/7.x/logstash-centralized-pipeline-management.html)

On restarting - I saw these errors in the logs (Note; I've replaced our host with {host}):

Unable to retrieve license information from license server {:message=\>"Elasticsearch Unreachable: [https://{host}/][Manticore::ClientProtocolException] {host} failed to respond"}

Failed to fetch X-Pack information from Elasticsearch. This is likely due to failure to reach a live Elasticsearch cluster.

In case this was a red herring - I configured pipelines in Kibana using the pipeline.id from logstash.yml config. i.e. {pipeline-id} above.  
and copied the existing file based config input, filter, and output for this this pipeline, into Kibana.

No data arrived in Elastic. And same error is written to logstash logs...

I read on another post that there was a bug in logstash 7.6.0 with same error, so I updated logstash to 7.9.0

Still the same error is logged.

In the logs it reports that it is starting the pipeline and it is using: central pipeline management:

`"pipeline.sources"=>["central pipeline management"`

And the pipeline starts...

I have also tried using a super user account.

I have reverted the changes to logstash yml, and now data is appearing - as per the pipeline.yml, but going forwards, we would like to use this feature.

Any help diagnosing appreciated.

Thanks

---

<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:** [September 29, 2020, 12:43pm UTC](https://discuss.elastic.co/t/unable-to-get-logstash-centralised-management-working/247091/2 "2020-09-29T12:43:04Z")

</div>

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