Hi Seth,
I have written some sample decoders based on your log.
Add the new decoder to /var/ossec/etc/decoders/local_decoder.xml to decode the log information.
<decoder name="xrdp">
<program_name type="osregex">xrdp\.*</program_name>
</decoder>
<decoder name="xrdp_child">
<parent>xrdp</parent>
<regex>^\.*[(\.+) ] </regex>
<order>log_level</order>
</decoder>
<decoder name="xrdp_child">
<parent>xrdp</parent>
<regex>^\.*[\.+] (\.+)$</regex>
<order>log_msg</order>
</decoder>
<decoder name="xrdp_child">
<parent>xrdp</parent>
<regex>user=(\.+) </regex>
<order>user</order>
</decoder>
Restart the Wazuh manager to apply the changes:
systemctl restart wazuh-manager
You can make further changes to your decoder following these documents.
Decoders Syntax
Regular Expression Syntax
Custom decoders
Let me know if you need any further assistance.