Send Alarm to a Database

Hi I would like to send eve.json or fast.log logs to a postgres database.
Which approach do you recommend?
I have already seen a script that is very obsolete and is not needed for that type of log, and an integration with barnyard that will no longer be used in a suricata 6

As far as I know there is no out of the box solution for sending eve.json to Postgres, or any type of standardized schema, so you’d have to work this out on your own.