Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wazuh API usage - Management/Logs #5244

Closed
Tracked by #5233
Desvelao opened this issue Mar 3, 2023 · 0 comments · Fixed by #5476, #5506 or #5505
Closed
Tracked by #5233

Wazuh API usage - Management/Logs #5244

Desvelao opened this issue Mar 3, 2023 · 0 comments · Fixed by #5476, #5506 or #5505
Assignees
Labels
level/task Task issue type/enhancement Enhancement issue

Comments

@Desvelao
Copy link
Member

Desvelao commented Mar 3, 2023

Description

Analysis: #5233

When clicking on the logs section

image

Issue
2021/11/09 15:45:52 INFO: wazuh-wui 172.19.0.105 "GET /cluster/status" with parameters {} and body {} done in 0.022s: 200
2021/11/09 15:45:52 INFO: wazuh-wui 172.19.0.105 "GET /cluster/nodes" with parameters {} and body {} done in 0.040s: 200
2021/11/09 15:45:52 INFO: wazuh-wui 172.19.0.105 "GET /cluster/status" with parameters {} and body {} done in 0.016s: 200
2021/11/09 15:45:52 INFO: wazuh-wui 172.19.0.105 "GET /cluster/nodes" with parameters {} and body {} done in 0.015s: 200
2021/11/09 15:45:52 INFO: wazuh-wui 172.19.0.105 "GET /cluster/master-node/logs/summary" with parameters {} and body {} done in 0.052s: 200
2021/11/09 15:45:52 INFO: wazuh-wui 172.19.0.105 "GET /cluster/master-node/logs" with parameters {"limit": "100", "sort": "-timestamp"} and body {} done in 0.053s: 200
2021/11/09 15:45:52 INFO: wazuh-wui 172.19.0.105 "GET /cluster/master-node/logs" with parameters {"limit": "100", "sort": "-timestamp"} and body {} done in 0.053s: 200
  • Improvements and suggestions

    1. GET /cluster/master-node/logs is called twice. Remove one of them if it is not necessary.
  1. I confirm this. We should review it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment