Set up Cross-Cluster Search
Perform the following steps on the Wazuh dashboard to enable Cross-Cluster Search from the CCS environment to the remote clusters.
Log in to the Wazuh dashboard using the login credentials:
Select â° > Indexer management > DevTools and run the following API call to connect the CCS environment to the remote Wazuh clusters on port 9300
:
Output should look like :
Test that the remote clusters are connected by running the following API call:
The output should look like :
Configure the wazuh-alerts-*
index pattern
wazuh-alerts-*
index pattern1. Select â° > Dashboard management > Dashboard Management > Index patterns and select Create index pattern to add the index patterns for the remote clusters.
2. Add the index pattern name using the format *:wazuh-alerts-*
and select Next step. The wildcard â*
â matches all indexers in the remote Wazuh clusters.
3. Select timestamp as the primary time field.
4. Select Create index pattern to create the index pattern.
5. Select â° > Dashboard management > App Settings > General and set the default index pattern for alerts to *:wazuh-alerts-*
in the Index pattern field.
6. Select the *:wazuh-alerts-*
index pattern and toggle the API between Cluster A and B to view alerts from both remote clusters.
Configure the wazuh-states-vulnerabilities*
index pattern
wazuh-states-vulnerabilities*
index pattern1. Select â° > Dashboard management > Dashboard Management > Index patterns and select Create index pattern to add the index patterns for the remote clusters.
2. Add the index pattern name using the format *:wazuh-states-vulnerabilities-*
and select Next step. The wildcard â*
â matches all indexers in the remote Wazuh clusters.
3. Select package.installed as the primary time field. This will show you when the vulnerable package was installed.
4. Select Create index pattern to create the index pattern.
5. Select â° > Dashboard management > App Settings > Vulnerabilities and set the default index pattern for vulnerabilities to *:wazuh-states-vulnerabilities-*
in the Index pattern field.
Troubleshooting :
This error is due to version mismatch of the filebeat config file , Matching the versions of filebeat config might solve the issue. I encountered the same while my deployment but I solved the error probably upgrading the config file version.
Resources used for this documentation :
Last updated