2022/08/04 01:20:00 INFO: wazuh [REDACTED IP] "GET /manager/stats/analysisd" with parameters {"pretty": ""} and body {} done in 0.008s: 200
2022/08/04 01:25:00 INFO: unknown_user [REDACTED IP] "GET /manager/stats/analysisd" with parameters {"pretty": ""} and body {} done in 0.002s: 401
2022/08/04 01:25:00 INFO: unknown_user [REDACTED IP] "GET /manager/stats/remoted" with parameters {"pretty": ""} and body {} done in 0.001s: 401
2022/08/04 01:25:00 INFO: wazuh [REDACTED IP] "GET /security/user/authenticate" with parameters {} and body {} done in 0.439s: 200
info: 2022/08/04 10:5:0: Cron-scheduler: {"message":"Request failed with status code 400","stack":"Error: Request failed with status code 400\n at createError (/usr/share/kibana/plugins/wazuh/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/usr/share/kibana/plugins/wazuh/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/usr/share/kibana/plugins/wazuh/node_modules/axios/lib/adapters/http.js:260:11)\n at IncomingMessage.emit (events.js:412:35)\n at endReadableNT (internal/streams/readable.js:1317:12)\n at processTicksAndRejections (internal/process/task_queues.js:82:21)","config":{"url":[REDACTED]:55000/security/user/authenticate","method":"get"}}
error: 2022/08/04 10:5:35: wazuh-api:getToken: Some Wazuh daemons are not ready yet in node "node01" (wazuh-modulesd->failed)
error: 2022/08/04 10:5:35: wazuh-api:checkStoredAPI: Request failed with status code 400
error: 2022/08/04 10:5:35: wazuh-api:checkStoredAPI: Request failed with status code 400
wazuh-clusterd not running...
wazuh-modulesd is running...
wazuh-monitord is running...
wazuh-logcollector is running...
wazuh-remoted is running...
wazuh-syscheckd is running...
wazuh-analysisd is running...
wazuh-maild is running...
wazuh-execd is running...
wazuh-db is running...
wazuh-authd is running...
wazuh-agentlessd not running...
wazuh-integratord not running...
wazuh-dbd not running...
wazuh-csyslogd not running...
wazuh-apid is running...
When the API goes down, we will see wazuh-modulesd stop running.
Restarting the wazuh-manager and running the grep command returns no results.
Since disabling the Vulnerability module, we have seen no instances of the API dropping.