{"id":1722,"date":"2026-04-21T19:14:16","date_gmt":"2026-04-21T16:14:16","guid":{"rendered":"https:\/\/helia.ee\/koolitus\/?page_id=1722"},"modified":"2026-04-21T19:14:16","modified_gmt":"2026-04-21T16:14:16","slug":"increasing-the-session-timeout-of-wazuh-app-sessiooni-aja-muutmine","status":"publish","type":"page","link":"https:\/\/helia.ee\/koolitus\/?page_id=1722","title":{"rendered":"Increasing the Session timeout Of wazuh App (Sessiooni aja muutmine)"},"content":{"rendered":"\n<p>To change the Wazuh dashboard logout time, edit\u00a0<code>\/etc\/wazuh-dashboard\/opensearch_dashboards.yml<\/code>\u00a0to update the\u00a0<code>opensearch_security.session.ttl<\/code>\u00a0setting in milliseconds, then restart the dashboard service. For a 1-hour timeout, set\u00a0<code>opensearch_security.session.ttl: 3600000<\/code>\u00a0and restart with\u00a0<code>systemctl restart wazuh-dashboard<\/code>.<\/p>\n\n\n\n<p><strong>Steps to Change Logout Time (Wazuh 4.3+)<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>SSH into the Wazuh Manager<\/strong>\u00a0and open the dashboard configuration file:bash<code>vi \/etc\/wazuh-dashboard\/opensearch_dashboards.yml <\/code>\u00a0<\/li>\n\n\n\n<li><strong>Add or modify<\/strong>\u00a0the following settings (time is in milliseconds, e.g., 86400000 ms = 24 hours):yaml<code>opensearch_security.session.ttl: 3600000 opensearch_security.cookie.ttl: 3600000 opensearch_security.session.keepalive: true<\/code>\n<ul class=\"wp-block-list\">\n<li><code>session.ttl<\/code>: The maximum session duration.<\/li>\n\n\n\n<li><code>cookie.ttl<\/code>: The cookie expiration time.<\/li>\n\n\n\n<li><code>keepalive<\/code>: Extends the session if the user is active.\u00a0<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Restart the Wazuh dashboard<\/strong>\u00a0to apply changes:bash<code>systemctl restart wazuh-dashboard <\/code><\/li>\n<\/ol>\n\n\n\n<p><strong>Additional Notes<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Default Time:<\/strong>\u00a0The default session timeout can be as short as 5 minutes in some configurations.<\/li>\n\n\n\n<li><strong>API Timeout:<\/strong>\u00a0If you need to change the API timeout separately, edit\u00a0<code>\/var\/ossec\/api\/configuration\/api.yaml<\/code>.\u00a0<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>To change the Wazuh dashboard logout time, edit\u00a0\/etc\/wazuh-dashboard\/opensearch_dashboards.yml\u00a0to update the\u00a0opensearch_security.session.ttl\u00a0setting in milliseconds, then restart the dashboard service. For a 1-hour timeout, set\u00a0opensearch_security.session.ttl: 3600000\u00a0and restart with\u00a0systemctl restart wazuh-dashboard. Steps to Change Logout Time (Wazuh 4.3+) Additional Notes<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1720,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-1722","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1722","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1722"}],"version-history":[{"count":1,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1722\/revisions"}],"predecessor-version":[{"id":1723,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1722\/revisions\/1723"}],"up":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1720"}],"wp:attachment":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}