Hi,
Please need your support to resolve the error happened in agent side while configuring iis logs through eventchannel.
("ERROR: Could not EvtSubscribe() for (Microsoft-Windows-IIS-Logging/Logs) which returned (15007)")
In IIS server both location activated for logging and logs are generated in both as well.
When we configure local file as below no error appear and logs are getting in wazuh archive
<localfile>
<location>%SystemDrive%\inetpub\logs\LogFiles\W3SVC2\*.log</location>
<log_format>iis</log_format>
</localfile>
Please need a advice to resolve the above issue as we need to configure using eventchannel only.
Best Regrads,