Modify parameters in the YML file of an Alibaba Cloud Logstash cluster to control how it processes tasks.
Usage notes
When you modify the YML file configuration, note the following:
-
The slow log feature is enabled by default to simplify troubleshooting. Do not remove this configuration.
-
To ensure service stability, the following parameters cannot be modified.
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.hosts
Procedure
Log on to the Alibaba Cloud Elasticsearch console.
-
In the left-side navigation pane, click Logstash Clusters.
Navigate to 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 next to YML File Configuration.
-
In the YML File Configuration panel, modify the YML file configuration as needed.
For details about configuration parameters, see the Logstash 6.7.0 Reference.
WarningModifying the YML file restarts the Logstash cluster for the changes to take effect. To avoid business impact, confirm that it is safe to proceed.
-
Select This operation will restart the cluster. Continue? and click OK.
After you click OK, the cluster restarts. You can monitor progress in the Tasks list. For details, see View the progress of a cluster task. The new YML file configuration takes effect after the restart is complete.