Hello everybody,
I need to be monitoring Exchange/IIS logs in (please note the double wildcards):
- D:\Exchange\Logging\HttpProxy\*\*.LOG and
- D:\Exchange\Logging\Mailbox\*\*.LOG.
Configuration:
<localfile>
<location>D:\Exchange\Logging\HttpPProxy\*\*.LOG</location>
<log_format>iis</log_format>
</localfile>
Error:
2023/03/24 13:16:20 wazuh-agent: INFO: (1141): Glob error. Invalid pattern: 'D:\Exchange\Logging\HttpProxy\*\*.log' or no files found.
So I was trying to be clever and work around the open issue 12351 by specifying the subdirectories individually, like D:\Exchange\Logging\HttpProxy\AutoDiscover\*.LOG.
But, even the first of these many subdirectories are not being read, because they are too many.
Error:
2023/03/24 13:16:20 wazuh-agent: WARNING: (1960): File limit has been reached (200).
Anyway: How does Wazuh handle log rotation? The logs are being rotated every 10MB, can Wazuh handle that?
Thank you for all hints.
Kind regards, Dirk.
in Elasticsearch/Filebeat it is