I'm having an issue collecting IIS logs from a Windows 2019 instance using the Wazuh Agent V4.3.6 to Wazuh Server V4.3.6.
This is the config section:
<localfile>
<location>D:\Logs\IIS Log Files\W3SVC1\*.log</location>
<log_format>iis</log_format>
<only-future-events>no</only-future-events>
</localfile>
This is what I see in ossec.log (with debug turned on)
2022/07/29 09:00:26 wazuh-agent[12080] read_syslog.c:148 at read_syslog(): DEBUG: Read 0 lines from D:\Logs\IIS Log Files\W3SVC1\u_ex220122.log
2022/07/29 09:00:26 wazuh-agent[12080] read_syslog.c:148 at read_syslog(): DEBUG: Read 0 lines from D:\Logs\IIS Log Files\W3SVC1\u_ex220123.log
2022/07/29 09:00:26 wazuh-agent[12080] read_syslog.c:148 at read_syslog(): DEBUG: Read 0 lines from D:\Logs\IIS Log Files\W3SVC1\u_ex220124.log
All of those log files contain logs.
IIS is configured to log in W3C format, UTF-8 Encoding with hourly file rollover.
Any help would be greatly appreciated.