Hello,
So I checked the sample logs you shared, and it explains the issue. If you look at the logs in archives, you would notice they do not match any decoder, which is why you were unable to see them on the dashboard, and your decoders were also not working. Apparently, the logs are not in JSON, by the way. I was able to extract a sample log and used it for testing to create a decoder for you as a reference.
A cleaned-up version of the log:
Dec 04 19:38:09 ip-172-31-92-58 docker[1238]: dionaea[232]: "protocal":"ftp","transport":"tcp","type":"accept","src_ip":"84.25.185.76","src_port":"39648","dst_ip":"172.31.92.58","dst_port":"21","commands":[{"arguments":["admin","hello"],"command":"USER"},{"arguments":[],"command":"PASS"},{"arguments":[],"command":"SYST"},{"arguments":[],"command":"FEAT"},{"arguments":[],"command":"QUIT"}]}
Please note you need to use the full_log part of the full log only. Please see the decoder sample below and also the attached result.
<decoder name="dionaea-custom">
<program_name>docker</program_name>
<prematch>dionaea</prematch>
</decoder>
<decoder name="dionaea-child">
<parent>dionaea-custom</parent>
<regex type="pcre2">"protocal":"([^"]+)","transport":"([^"]+)","type":"([^"]+)","src_ip":"([^"]+)","src_port":"([^"]+)","dst_ip":"([^"]+)","dst_port":"([^"]+)"</regex>
<order>dionaea.protocol,dionaea.transport,dionaea.event_type,srcip,srcport,dstip,dstport</order>
</decoder>
Please bear in mind, when working with a custom decoder, it is best to extract a sample log from the archive.json file and use that when testing, this gives you the assurance that you have used the logs exactly how Wazuh would ingest them and also have the correct decoder and a matching rule. And also, the decoder above are highly customizable, you can modify them and also use it as reference point when writing other decoders too.
Please let me know if you need further assistance on this.