Help Center/ Cloud Search Service/ User Guide/ Using Logstash for Data Migration/ Configuring Routes for a Logstash Cluster
Updated on 2024-10-26 GMT+08:00

Configuring Routes for a Logstash Cluster

  • If the Logstash cluster and the data source are connected to the same primary NIC, the network is automatically connected, and there is no need to configure routes for the Logstash cluster.
  • If they are not connected to the same primary NIC, however, you must configure routes connecting each node of the Logstash cluster to the data source's IP address and back.

Configuring Routes for a Logstash Cluster

  1. Log in to the CSS management console.
  2. In the navigation pane on the left, choose Clusters > Logstash.
  3. In the displayed cluster list, click the Logstash cluster name to switch to the Cluster Information page.
  4. In the Configuration area, click Modify next to Cluster Routing.
    Figure 1 Configuring cluster routing
  5. In the Modify Cluster Routing dialog box, configure route information.
    Table 1 Configuring cluster routing

    Parameter

    Description

    IP Address

    Enter the first 16 or 24 bits (or first two or three octets) of the data source's server IP address. For example, if the source IP address is 192.168.1.1, enter 192.168.0.0 in the text box.

    Subnet Mask

    Enter the subnet mask of the IP address.

    • If the first 16 bits of the IP address are provided, enter 255.255.0.0 in Subnet Mask.
    • If the first 24 bits of the IP address are provided, enter 255.255.255.0 in Subnet Mask.
    NOTE:

    The subnet mask must cover the IP network segment. That is, after the subnet mask and IP address are converted into binary values, the number of 0s at the end of the IP address must be greater than the number of 0s at the end of the subnet mask.

    Modification Type

    Select the change type.

    • Add: Add a new route.
    • Delete: Delete an existing route.
    Figure 2 Configuring cluster routing
  6. Click OK to complete the cluster routing configuration.
  7. Click View next to Cluster Routing. In the Cluster Routing dialog box, check the updated cluster routing information.