I'm looking for suggestions.
I have two indices, for example:
index-a-2025
index-b-2025
Both indices contain Beat host names on which they are deployed. I want to compare both indices to identify any missing host names (i.e., the difference) between them.
Assuming I know that there are 1,000 Beat host names (stored in the field beats_host_name) in index-a-2025 and 980 Beat host names (stored in the field beats_stats_host_name) in index-b-2025, what would be the best way to quickly retrieve the 20 host names that exist in index-a-2025 but not in index-b-2025?
Could this be achieved using a Watcher that’s manually executed and returns those 20 host names? Or perhaps through a visualization in a dashboard?
I would really appreciate any guidance or suggestions.
I quickly tried to implement it, but it seems that this will not be the solution in my case. To run ES|QL cross-cluster search a valid Enterprise license is required.
One of the indices (index-b-2025) contains necessary data from another cluster. Basically, in my environment I have two indices - one local, another one from another cluster.
First of all, I wold not make the assumption that there are 20 differences. Trust, but verify !!
It might be there are 900 hosts in common, and then 100 in index--a that are not in index-b, and 80 in index=b that are not in index-a !!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.