Skip to main content

Modify the Wazuh Dashboards Session Timeout

This procedure applies to Wazuh 4.3+ , as previous versions used references to opendistro in the configuration files.

Edit the file /etc/wazuh-dashboard/opensearch_dashboards.yml and add/change the following lines:

# The ttl is calculated in milliseconds
# 86400000 ms is 24 hrs
opensearch_security.cookie.ttl: 86400000
opensearch_security.session.ttl: 86400000
opensearch_security.session.keepalive: true

Then, restart the service

systemctl restart wazuh-dashboards