Shipping logs to database

You can also try Meer. It reads in EVE and can store data to Redis, MariaDB , MySQL, etc . It can also work similar to Barnyard2 but using EVE rather than unified2 files.

See GitHub - quadrantsec/meer: Meer is a "spooler" for Suricata / Sagan.

It’s also purpose built for this purpose.