Hello!
Thanks for using Wazuh!
For starters, where have you set such module? It should be placed in your Agent's ossec.conf file (or sent to it using Centralized configuration).
Also, you should enable logcollector.debug on the Agent's C:\Program Files (x86)\ossec-agent\internal_options.conf by setting it to 2 (by default is 0) in order to get more information on the Wazuh Agent log file. Make sure to restart the Agent service for this change to impact. There's related information here.
Once done, try checking the Agent's log file C:\Program Files (x86)\ossec-agent\ossec.log. It should tell you if it is actually reading the file. Remember to set logcollector.debug back to 0 when done.
If the agent is actually reading the file, then you should see events from such files in your Manager's archives.json. By the way, did you make sure that you have enabled logall_json in your manager for it to feed the archives.json file?
Other than this, it would be very useful to check some samples of those log files. Would it be possible for you to share some of these files or samples from them?
Looking forward to your comments.
10.20.20.13 anonymous Calendar Connector 2022-08-29 15:23:57 SHO-TMG01 - wdm-k.wbx2.com 10.20.15.29 443 0 0 2887 SSL-tunnel - wdm-k.wbx2.com:443 - Inet 12233 Blocked P2P/File Sharing Req ID: 11bdc147 Internal External 0x0 Denied - - - - Allowed Malware Inspection Disabled Unknown - 0 - 0 - - Feature disabled Web Proxy wdm-k.wbx2.com 30796 -
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/1dce774a-9a4b-4d3a-b308-f44e50686176n%40googlegroups.com.
**Phase 1: Completed pre-decoding.
full event: '10.20.20.13 anonymous Calendar Connector 2022-08-29 15:23:57 SHO-TMG01 - wdm-k.wbx2.com 10.20.15.29 443 0 0 2887 SSL-tunnel - wdm-k.wbx2.com:443 - Inet 12233 Blocked P2P/File Sharing Req ID: 11bdc147 Internal External 0x0 Denied - - - - Allowed Malware Inspection Disabled Unknown - 0 - 0 - - Feature disabled Web Proxy wdm-k.wbx2.com 30796 -'
**Phase 2: Completed decoding.
name: 'tmg-log'
dstip: '10.20.15.29'
dstport: '443'
id: '12233'
protocol: 'SSL-tunnel'
rule_name: 'Blocked'
srcip: '10.20.20.13'
url: 'wdm-k.wbx2.com'
**Phase 3: Completed filtering (rules).
id: '102001'
level: '5'
description: 'Access denied by rule - Blocked P2P/File Sharing'
groups: '["tmg"]'
firedtimes: '1'
mail: 'false'
**Alert to be generated.
---------------------------------------------------------------------------
**Phase 1: Completed pre-decoding.
full event: '10.20.140.138 ENT\Oleksii.Kozintsev - 2022-10-06 13:09:56 SHO-TMG01 - sls.update.microsoft.com 10.20.15.29 443 0 0 2891 SSL-tunnel - sls.update.microsoft.com:443 - Inet 12202 Block srv subnet inet Req ID: 17f9f9b8 Internal External 0x0 Denied - - - - Allowed Malware Inspection Disabled Unknown - 0 - 0 - - Feature disabled Web Proxy sls.update.microsoft.com 56403 - '
**Phase 2: Completed decoding.
name: 'tmg-log'
dstip: '10.20.15.29'
dstport: '443'
id: '12202'
protocol: 'SSL-tunnel'
rule_name: 'Block'
srcip: '10.20.140.138'
url: 'sls.update.microsoft.com'
**Phase 3: Completed filtering (rules).
id: '102000'
level: '0'
description: 'TMG messages grouped.'
groups: '["tmg"]'
firedtimes: '1'
mail: 'false'
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/0b2b9e2b-baaa-456e-b043-2ff8b14e0e0en%40googlegroups.com.