Hi,
I have logs in the directory: "D:\Applications\Tomcat\apache-tomcat-8.5.34\logs"
I added this configuration in ossec.conf :
<localfile>
<location>D:\Applications\Tomcat\apache-tomcat-8.5.34\logs\*</location>
<log_format>syslog</log_format>
</localfile>
then restarted the agent but I have the following error in the logs:
2019/10/22 15:27:20 ossec-agent: ERROR: (1103): Could not open file 'D:\Applications\Tomcat\apache-tomcat-8.5.34\logs\*.txt' due to [(123)-(The filename, directory name, or volume label syntax is incorrect.)].
When I put a full path like "D:\Applications\Tomcat\apache-tomcat-8.5.34\logs\localhost_access_log.2019-10-22.txt" it works
Thanks
Jérémy