We have 3 dc in our company and graylog clusters are running in each. Whenever user creates an event and notification in one datacenter, we want to sync this data to other datacenters. I searched content pack for this in marketplace but I couldn’t. Maybe you know?
If not available, I am thinking to write a synchronizer to read data from mongo db from these collections
event_definitions
event_notifications
and insert it to other mongo db’s running on other datacenters.
Whenever user creates an event and notification in one datacenter, we want to sync this data to other datacenters. I searched content pack for this in marketplace but I couldn’t. Maybe you know?
I do not know of any app available in the Graylog Marketplace that has that capability. It sounds like a great idea! If you decide to write a synchronizer to read data from mongo db from these collections: event_definitions and event_notifications, please let me know. I will help you to promote it to the community.
As an added bonus for developers in our new community Marketplace, I am available to help in several ways promote your contributions. Keep me informed on this project!
Off the top of my head, I would think there would be a way to have all three of your Graylog instances use a single distributed MongoDB replica set. But perhaps that wouldn’t give you the result you’re looking for.
Graylog clusters are working on their own in each datacenters in our case and mongo replicasets as well. Cross dc relations are not available in mongo replicasets. This is a design choice of course. One of the reason is that graylog version is different in one datacenter so mongo db versions as well.
I also thought that case If all of the mongo replicasets are connected in each datacenter, probably all graylog instances have the same data but I am not sure.