Can I store Event Logs from the web version directly in a file on the server?

I want to collect and manage logs. For this purpose, the web version has a very convenient event log, but I can’t find it in the application files. Does it exist or does the application directly take data from the database and not store it in collected form? If so, can you provide or point to the part of the code that does this?

You can enable the event logs with ORG_EVENTS_ENABLED=true then events are stored in the database in the event table. Cf

I don’t think that we support the public API endpoint mentioned in the Bitwarden help though.

I understand. I have records in the DB. But I would like the logs to be written somewhere to a file on the server, in the same format in which I can download them through the web admin panel. I need these logs for administration. You can collect them yourself from the DB, but I hope there are other options