Hello,
I have been checking the syntax of your decoder. First of all, the first error I notice is that there are small differences between a normal regex, and the regex used in Wazuh (OS_Regex), you can read everything in detail in the documentation:
The main difference is that some characters are not used the same, for example the dot:
- . matches a literal dot, whereas \. matches any character
I have been modifying your decoder, with this syntax it works. I have also simplified the way to make the decoder in the email:
<decoder name="TFSLINE">
<prematch>^WARN</prematch>
</decoder>
<decoder name="TFSLINE">
<parent>TFSLINE</parent>
<regex>^\w*\s\s[\w*.\w*.\w*.\w*]\s\((\d+-\d+-\d+)\s(\d+:\d+:\d+),\d*\):\s\w*\(\):\s\w*\s\w*\s\w*\s\w*\s(\w+)$</regex>
<order>full_log,action_date,action_time,user_id</order>.
</decoder>
I hope this helps you, any questions or problems you have feel free to ask me!!!
Regards