User idle timeout and API timeout

951 views
Skip to first unread message

Massimiliano De Falco

unread,
May 2, 2023, 1:40:50 PM5/2/23
to Wazuh mailing list
Good morning,
can you tell me where I can modify the API connection timeout and the user idle console timeout ?

Thanks.

Abdullah Al Noman

unread,
May 2, 2023, 2:02:31 PM5/2/23
to Wazuh mailing list
Hello Massimiliano,

Thanks for using Wazuh.

I can help you with your queries. To ensure better understanding about your environment, let me know your current Wazuh version.

Looking forward to your answer.

Regards,

Abdullah Al Noman

unread,
May 2, 2023, 2:10:38 PM5/2/23
to Wazuh mailing list
Additionaly, let me know how did you perform the deployment. Is it a distributed or single node deployment?

Massimiliano De Falco

unread,
May 2, 2023, 2:25:39 PM5/2/23
to Wazuh mailing list
I have a wazuh 4.4.1 management console on ubuntu server and 4.4.1 endpoints on win10

Abdullah Al Noman

unread,
May 2, 2023, 3:03:02 PM5/2/23
to Wazuh mailing list
Thank you for your information, Massimiliano.

Perform the steps below to modify API connection timeout and Wazuh dashboard session timeout (I belive, this is what you meant by user idle console timeout):

API connection timeout

Step 1: Log into the Wazuh dashboard as an admin user.
Step 2: Navigate to the Configuration under Settings in the Wazuh dashboard. See the image below.
configuration.png
Step 3: Under the General section, find Request timeout. Change the value based on your need. See the image below.
api-timeout.png
Step 4: Save the changes.

Wazuh dashboard session timeout

Step 1: SSH to the Wazuh server.
Step 2: Open the /etc/wazuh-dashboard/opensearch_dashboards.yml file and add the following lines:
opensearch_security.session.ttl: 43200000 opensearch_security.cookie.ttl: 43200000 opensearch_security.session.keepalive: true Define the length of time you want in milliseconds, for example, 12 hours as in the example above.
Step 3: Restart the Wazuh dashboard using systemctl restart wazuh-dashboard for the changes to take effect. 

Hope this helps. Let me know if you requires further help.

Regards,
Reply all
Reply to author
Forward
0 new messages