After you install a shipper, you can modify its configuration.
Prerequisites
You have installed a shipper. For more information, see Use Filebeat to collect logs from an ECS instance.
Procedure
Log on to the Alibaba Cloud Elasticsearch console.
In the left-side navigation pane, click Beats Data Shippers.
In the Manage Shippers section, find the target shipper and click Configure Shipper in the Actions column.
Click Edit and change the shipper configuration as needed.
Parameter
Description
Output
The destination for the data collected by Filebeat. You can select an existing Alibaba Cloud Elasticsearch cluster or Logstash instance. The access protocol must match the protocol of the selected Elasticsearch cluster.
Username and Password
Required if you set Output to Elasticsearch. You must provide the username and password that Filebeat uses to write data to the Elasticsearch cluster. The default username is elastic. This is the password you set when you created the cluster. If you forget the password, you can reset it. For more information, see Reset the access password for an Elasticsearch cluster.
Enable Kibana Monitoring
This parameter is used to monitor Filebeat metrics. If the Output is set to Elasticsearch, Monitor uses the same Alibaba Cloud Elasticsearch instance as the Output by default. If the Output is set to Logstash, you must perform additional configurations in the configuration file.
Enable Kibana Dashboard
Enables the default Kibana dashboard. Because Alibaba Cloud Kibana is deployed in a VPC, you must enable private network access on the Kibana Configuration page. For more information, see Connect to a cluster by using Kibana.
Filebeat File Path
Alibaba Cloud uses Docker to deploy Beats. You must map the source log directory to a directory in the Docker container. This path should match the
input.pathin the filebeat.yml file.Shipper YML Configuration
The configuration file for the shipper. You can modify this file to suit your needs. For more information, see Shipper YML Configuration.
ImportantAfter you specify the Output, you do not need to configure the output in the Shipper YML Configuration. If you configure the output in both places, the ECS shipper installation fails.
Click Save.
After saving the configuration, the shipper's status changes to Enabling. When the status changes to Enabled, the configuration update is complete.