Hello,
I'm surprised not to see a basic feature to parse a simple CSV on wazuh.
I have such a CSV for my tests:
actionregister,20240423,myname,myadress,mycode
actionregister,20240423,myname2,myadress2,mycode2
Using the GUI functionality, I test with:
<decoder name="csv-decoder">
<prematch>^actionregister,</prematch>
</decoder>
<decoder name="csv-decoder-fields">
<parent>csv-decoder</parent>
<regex offset="after_parent">([^,]+),([^,]+),([^,]+),([^,]+)$</regex>
<order>field1,field2,field3,field4</order>
</decoder>
Then in the test area, I put my 2 lines of CSV.
But Wazuh can't parse the thing.
I've tested my regex and it works well.
Do you have some ideas?
Regards
