Yes, it is possible to query all the data to a centralized dashboard. I have tested this in my lab, and it is working without any issues.
For testing, I have used a Wazuh server deployment (Wazuh indexer, Wazuh Manager, Wazuh dashboard).
Next, I have configured a Wazuh CCS indexer and dashboard on another server.
Ref: https://wazuh.com/blog/managing-multiple-wazuh-clusters-with-cross-cluster-search/
After that, I have configured a new set of certificates for the Wazuh server based on the pre-existing root certificates that I generated for CCS.
Ref: https://documentation.wazuh.com/current/user-manual/wazuh-dashboard/certificates.html
On the Wazuh deployment, you will need to add an extra line in the /etc/wazuh-indexer/opensearch.yml
Under plugins.security.nodes_dn:, similar to the line colored in red. CN= will be your CCS cluster node name.
plugins.security.nodes_dn:
- "CN=ca-wazuh-indexer-1,OU=Wazuh,O=Wazuh,L=California,C=US"
- "CN=ccs-wazuh-indexer-1,OU=Wazuh,O=Wazuh,L=California,C=US"
Select ☰ > Indexer management > DevTools and run the following API call to connect the CCS environment to the remote Wazuh clusters on port 9300:
Note: Add the Wazuh indexer node name for clusters A and B to the "cluster.remote" section and their corresponding IP addresses to the "seeds" section.
PUT _cluster/settings
{
"persistent": {
"cluster.remote": {
"ca-wazuh-indexer-1": {
"seeds": ["192.168.10.101:9300"]
},
"cb-wazuh-indexer-1": {
"seeds": ["192.168.20.101:9300"]
}
}
}
}