On 7/7/23 08:42, Fischer, Manuel wrote:
Hi all,

we have some Docker Guacamole instances. Because of some data protection regulations in our company, its not allowed to keep the connection history visible for each available connection for everyone and forever.

Is there a way to limit this connection history so that admins can only see like the last four weeks or something like that?


There is no option directly within Guacamole to automatically clean up old connection history entries.

You could set up a cron job (outside the Docker image) that runs a SQL query against the database to delete all history entries older than some specific date. The relevant table within the SQL schema is documented here:

https://guacamole.apache.org/doc/gug/jdbc-auth.html#usage-history

Only the start date could reliably be used for this. It is possible for a connection history entry to exist without an end date if something external to Guacamole prevented the history entry from being updated when the connection ended, such as a network failure between Guacamole and the database.

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to