Hi Team,
I have already added a prefix to my TeamViewer logs using the out_format feature to differentiate them from the default JSON decoder. This allows me to create custom decoders for fields that are not being parsed by the built-in JSON decoder.
However, I am facing another issue. The logs contain a field named Timestamp, which is currently being decoded by the JSON plugin as data.Timestamp. Since the value is already in a format compatible with Wazuh's timestamp field, I would like to map it to data.timestamp instead.
Is there any way to limit or customize the JSON plugin decoder so that I can override or rename this field and handle it separately through a custom decoder using the full log? Disabling the JSON decoder is not an option because it efficiently parses most of the TeamViewer log fields.
Has anyone encountered a similar situation, or is there a recommended approach to achieve this field mapping without losing the benefits of JSON decoding?
Full Log:
The highlighted portion is the out_format I added.
2026 Aug 12 06:10:04 /var/log/remote_logs/teamviewer/teamviewer_logs/teamviewer_audit.log teamviewer: teamviewer_tensor: {"EventDetails": [{"OldValue": "", "NewValue": "Remote Control", "PolicyEnforcementNewValue": null, "PolicyEnforcementOldValue": null, "PropertyName": "Session type", "PropertyCategory": "SessionInfo"}, {"OldValue": "", "NewValue": "Reconnect Token", "PolicyEnforcementNewValue": null, "PolicyEnforcementOldValue": null, "PropertyName": "Used Authentication Method", "PropertyCategory": "SessionInfo"}, {"OldValue": "", "NewValue": "000160050", "PolicyEnforcementNewValue": null, "PolicyEnforcementOldValue": null, "PropertyName": "ID of participant", "PropertyCategory": "SessionInfo"}, {"OldValue": "", "NewValue": "ABCD . AB", "PolicyEnforcementNewValue": null, "PolicyEnforcementOldValue": null, "PropertyName": "Name of participant", "PropertyCategory": "SessionInfo"}, {"OldValue": "", "NewValue": "116116111", "PolicyEnforcementNewValue": null, "PolicyEnforcementOldValue": null, "PropertyName": "ID of presenter", "PropertyCategory": "SessionInfo"}, {"OldValue": "", "NewValue": "XYZ", "PolicyEnforcementNewValue": null, "PolicyEnforcementOldValue": null, "PropertyName": "Name of presenter", "PropertyCategory": "SessionInfo"}], "EventName": "Ended session", "EventType": "Session", "Timestamp": "2026-08-12T06:05:44Z", "Author": "ABCD . AB", "AuthorEmail": "AB...@XYZ.com", "AffectedItem": "8anfjdng6e8-6333-4yyca-b44de-53dhfbj87a77"}
Thanks in advance for your help.