[DOCS] Inconsistencies at Centralised Pipeline Management
Hi all,
I may have found a doc issue while struggling to make Centralised Pipeline Management works with a Trial License. The concerned doc page is that one : https://www.elastic.co/guide/en/logstash/6.3/configuring-centralized-pipelines.html
Here is the problem: Step 2 says:
Specify configuration management settings in the logstash.yml file. At a minimum, set:
xpack.management.enabled: true
xpack.management.elasticsearch.url
xpack.management.pipeline.id
Few lines after we can read a note:
Centralized management is disabled until you configure and enable X-Pack security.
This seems inconsistent. Centralised Pipeline Management with only the "At a minimum" settings described here won't work. Moreover, step 4 is also a non-sense. "If your Elasticsearch cluster is protected with basic authentication", but we must enable basic security to get the feature working...
I hope I'm right and I hope it helped a bit. Nice day, Kuaaaly
I can confirm after trying it.
If:
- You add this in the
elasticsearch.yml:
xpack.security.enabled: true
- You set up the password using (for example):
/usr/share/elasticsearch/bin/elasticsearch-setup-passwords interactive
- You tune
kibana.yml&logstash.ymlconveniently (with appropriate username / password).
The "Logstash > Pipelines" panel under "Kibana > Management" will appear magically.
Kuaaaly
@Kuaaaly you're right. This could be made more clear.
Security is required because the pipeline configurations we receive from Elasticsearch can contain arbitrary executable code, and we want to ensure that Logstash is talking to a trusted Elasticsearch node and not a man-in-the-middle before accepting and executing new pipelines configurations.
@karenzone could you take a look at this when you get a chance?