Hello!
Thanks for using wazuh!
At the moment we do not have a direct filter for agent groups. But you can use the field
agent.name, agent.id, or agent.ip with the operator is one of and add several values to be able to generate a filter with the identifiers of the agents that you need.
Another workaround is to make use of DSL Queries, for example, we can create a DSL query to obtain the alerts of an entire subnetwork of 254 hosts:
{
"query": {
"regexp": {
"agent.ip": {
"value": "192.168.0.*",
"case_insensitive": true
}
}
}
} You can find the DSL query option at module>security events>add filter>Edit as Query DSL. Once there you can paste the query shown above, then click on save. Once saved the query should filter by the specified range of IPs.
Reference:
DSL QuerysHope this helps, let me know if you need anything else.
Regards,
Luis Avendaño.
Hi!
Is this possible?
Thanks!