Sync audit_events and alarm_events from 2 different gateways

I want to sync audit_events and alarm_events from 2 different gateways, basically the idea is when storing data to these db table, it will act as a splitter, so it will save data to both gateways.

is this possible and whats the efficient approach to this?

Thanks!