Modify a shipper configuration

更新时间:
复制 MD 格式

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

  1. Log on to the Alibaba Cloud Elasticsearch console.

  2. In the left-side navigation pane, click Beats Data Shippers.

  3. In the Manage Shippers section, find the target shipper and click Configure Shipper in the Actions column.

  4. 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.path in 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.

    Important

    After 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.

  5. Click Save.

    After saving the configuration, the shipper's status changes to Enabling. When the status changes to Enabled, the configuration update is complete.