Greetings,
You may create a dashboard and visualizations with built in filters for the location from which you are collecting the logs.
If you're using the Wazuh manager's remote syslog collection then you can filter with the IP of your source with the location field:
Furthermore, if you wish to filter for all logs whose location starts with a number you may edit the filter as a DSL query and use the following expression:
{
"query": {
"regexp": {
"location": {
"value": "[0-9].*"
}
}
}
}
If you're using rsyslog to collect the logs and place them in a file then you can filter for that file's path instead of the IP.
Please let us know if you have any more questions.
Best regards,
Juan C. Tello