You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to review the fields of the documents for the wazuh-monitoring index. This index contains data about the Wazuh environment, and essentially is used to populate the Agents Evolution chart. The objective of this chart is to display a histogram with the agent's status (connected, disconnected, pending, never connected) over time.
For this objective, only the agents' status is required, but the whole response from the /agents endpoint is stored.
There is no doubt that, if the Agents Evolution chart is the only reason to be of this index, we are storing unuseful information, which obviously consumes disk space, and over time, can slow down queries (take into account that by default, a document is created within 15 minutes).
Tasks
List the uses of the wazuh-monitoring index.
Optimize the wazuh-monitoring index, based on the results of the previous task. (see Alternatives)
Discuss if the default job interval makes sense for the uses of the index (default is 15 minutes).
Alternatives
Fetch the strictly required fields from the /agents endpoint.
Use the /agents/summary/status endpoint, which already provides the required information for the Agents evolution chart use case.
The text was updated successfully, but these errors were encountered:
Description
Parent issue:
We need to review the fields of the documents for the
wazuh-monitoring
index. This index contains data about the Wazuh environment, and essentially is used to populate theAgents Evolution
chart. The objective of this chart is to display a histogram with the agent's status (connected, disconnected, pending, never connected) over time.For this objective, only the agents' status is required, but the whole response from the /agents endpoint is stored.
There is no doubt that, if the
Agents Evolution
chart is the only reason to be of this index, we are storing unuseful information, which obviously consumes disk space, and over time, can slow down queries (take into account that by default, a document is created within 15 minutes).Tasks
wazuh-monitoring
index.wazuh-monitoring
index, based on the results of the previous task. (see Alternatives)Alternatives
Agents evolution
chart use case.The text was updated successfully, but these errors were encountered: