Use the YML Configuration feature to modify parameters in the YML file of your Logstash cluster. These parameters control how the cluster processes pipeline tasks.
Before you begin
You have a Logstash cluster on Alibaba Cloud Elasticsearch.
Your Alibaba Cloud account has permission to modify cluster configuration.
Usage notes
Slow log is enabled by default. The YML file includes slow log configurations to help troubleshoot Logstash issues. Do not delete these configurations.
System-managed parameters cannot be modified. To ensure cluster stability, the following parameters are managed by the system. Attempts to modify them are rejected:
node.name
path.data
path.config
http.host
http.port
log.level
path.logs
path.plugins
log.format
path.settings
pipeline.workers
xpack.management.enabled
xpack.management.pipeline.id
xpack.management.elasticsearch.username
xpack.management.elasticsearch.password
xpack.management.elasticsearch.hosts
xpack.monitoring.enabled
xpack.monitoring.elasticsearch.username
xpack.monitoring.elasticsearch.password
xpack.monitoring.elasticsearch.hostsFor a full parameter reference, see Logstash 6.7.0 Reference.
Modify the YML file
Saving changes to the YML file triggers a cluster restart. Make sure the restart does not affect your business before proceeding.
Log on to the Alibaba Cloud Elasticsearch console.
In the left-side navigation pane, click Logstash Clusters.
Find the target cluster:
In the top navigation bar, select the region where the cluster resides.
On the Logstash Clusters page, find the cluster and click its ID.
In the left-side navigation pane, click Cluster Configuration.
On the Cluster Configuration page, click Modify Configuration to the right of YML File Configuration.
In the YML File Configuration panel, modify the parameters as needed.
Select This operation will restart the cluster. Continue? and click OK. The system restarts the Logstash cluster. You can view the restart progress in the Tasks dialog box. For more information, see View the progress of a cluster task. After the restart completes, the new YML file configurations take effect.