The purpose of configuring routes for a Logstash cluster on CSS is to enable network connections between the cluster and its data sources.
If a Logstash cluster and a data source are connected to the same primary NIC, the network is automatically connected, and there is no need to configure routes. However, if they are not connected to the same primary NIC, routes must be configured to enable connections. This involves configuring routes connecting each node of the Logstash cluster to the data source's IP address and back, ensuring proper data ingestion and processing by the Logstash cluster.
This configuration is often needed in scenarios where data sources are in different regions, network environments, or from different cloud service providers, as they are unlikely to share the same primary NIC.
Constraints
Modifying the routes of a Logstash cluster may disconnect it from data sources. It is advisable to perform this operation during off-peak hours, and exercise caution.
Configuring Routes for a Logstash Cluster
- Log in to the CSS management console.
- In the navigation pane on the left, choose Clusters > Logstash.
- In the displayed cluster list, click the Logstash cluster name to switch to the Cluster Information page.
- In the Configuration area, click Modify next to Cluster Routing.
Figure 1 Configuring cluster routing
- 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
- Click OK to complete the cluster routing configuration.
- Click View next to Cluster Routing. In the Cluster Routing dialog box, check the updated cluster routing information.
- Constraints
- Configuring Routes for a Logstash Cluster