Graylog2-server: Graylog federation / multi home

Created on 3 Jul 2017  路  10Comments  路  Source: Graylog2/graylog2-server

Expected Behavior

With the move to the Elasticsearch REST Interface since Graylog 2.3 it should be possible to configure multiple elasticsearch cluster to lookup data from. Even if they are located in different locations.

Even better would be to talk to the Graylog API to get only the results back from remote.

pilotmultiplegraylog

Current Behavior

if you want to have some kind of multi homed Graylog Setup you need to have a Graylog Cluster running on every location and forward all (wanted) logs to a central Graylog to work with that data.

Context

That is similar to https://github.com/Graylog2/graylog2-server/issues/1004 and the main idea to build a federation. But as we might be able to talk to different elasticsearch cluster that might be true for the Graylog API too.

That way messages did not need to be duplicated and transported from the island into the main graylog.

feature triaged

Most helpful comment

are there any plans in supporting cross-cluster search ?

All 10 comments

Tribe node support? I have a use case where I want a GL server in different data centers, but because of latency, these servers cannot be in the same ES cluster. The current GL architecture means I have 3 different servers deployed. As your idea suggests, we can have a central server that can query the remote servers and then roll-up the results and present a singular view to the user.

@billmurrin The Elasticsearch tribe node is on its way out (see Tribe Nodes & Cross-Cluster Search: The Future of Federated Search in Elasticsearch), so we won't use that for implementing any sort of federation or Multi-DC support. 馃槈

BTW @joschi that was a great article. Thanks for sharing.

This would be a very useful feature for us as well. We have multiple DC locations, each with their own ES and GL instance. We also have one 'parent' DC in which it would be useful to be able to display the information of all other DC's. Right now our ops team needs to connect to different web interfaces to find the correct information.

ES tribe node is indeed on its way out, but it's replaced by Cross-Cluster Search. This seems like the feature needed in ES to be able to implement it.

are there any plans in supporting cross-cluster search ?

+1 for cross-cluster search support

This would be something extremely useful and would put Graylog in a place to contend with Splunk's Search Peers - Distributed Search. Can someone please provide an update on if / when this functionality might be implemented, as it is a key factor in my decision to migrate to Graylog or remain on Splunk, as it minimizes the 'normal' data congestion across the wire for our large scale, very wide-spread PCI environment.

If I understand this correctly then there is nothing to do from the graylog side:
https://www.elastic.co/blog/tribe-nodes-and-cross-cluster-search-the-future-of-federated-search-in-elasticsearch
"From a search execution perspective, there is no difference between local indices and indices that belong to remote clusters as long as the coordinating node can reach some nodes belonging to the remote clusters. Finally, the hits returned as part of the search response which belong to remote clusters have their index name prefixed with their cluster alias.
"
Your ES Cluster dictates where to search and returns the data
This should be pretty easy to test with an extra ES Cluster

zez3-

Not convinced it鈥檚 that simple with Graylog. Pretty sure I鈥檇 tried before, and the inability is because of the way Graylog does it鈥檚 indexing under the covers. If you test and find I鈥檓 incorrect, I鈥檓 all ears. ;-)

You CAN do cross-index searches with Kibana against multiple Elasticsearch clusters, even those with Graylog data. So there are options.

I was just unable to do it natively, from within Graylog, where I鈥檇 prefer to use some plugins and correlations I already have defined.

(Again, all of this assumes Graylog free, not Enterprise)

I鈥檒l do some testing again tomorrow, but I鈥檇 also spoken directly to Graylog鈥檚 team and they鈥檇 said it doesn鈥檛 work, currently, although it鈥檚 somewhere down the line on their roadmap.

Was this page helpful?
0 / 5 - 0 ratings