Skip to main content

Configuring Session Duration

Main parameters

Caution

All specified settings are made in the opensearch-dashboards.yml file on the SAF Web servers. After making changes, execute the following command to restart the service:

sudo systemctl restart opensearch-dashboards
ParameterValue TypeDescriptionDefault Value
smart_monitor.cookie.ttlinteger, millisecondsDefines the lifetime of the session cookie. Can be set to 0 to create a cookie only for the duration of the current session (the user will be automatically logged out when the browser is closed)1 hour (3600000 milliseconds)
smart_monitor.session.ttlinteger, millisecondsDefines the maximum duration of a user's session. Regardless of the presence of a cookie, after this time the user will be logged out and re-authentication will be required.1 hour (3600000 milliseconds)
smart_monitor.session.keepalivebooleanAffects the behavior of the session timer. True: with each user request to the SM Web interface, the session timer is reset and the countdown starts again. False: the session timer is not updated with user requests, the session ends after the initially set time.true

Configuration example:

smart_monitor.cookie.ttl: 14400000
smart_monitor.session.ttl: 14400000
smart_monitor.session.keepalive: true