You can 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:
To simplify troubleshooting for Alibaba Cloud Logstash, the slow log feature is enabled by default. 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 more information about the configuration parameters, see the Logstash 6.7.0 Reference.
WarningModifying the YML file requires restarting the Alibaba Cloud Logstash cluster for the changes to take effect. To prevent business impact, confirm that it is safe to proceed.
Select This operation will restart the cluster. Continue? and click OK.
After clicking OK, the Alibaba Cloud Logstash cluster restarts. You can monitor the restart progress in the Tasks list. For more information, see View the progress of a cluster task. The new YML file configuration takes effect once the restart is complete.