Hello,
Of course, we can help you, the first time facing a decoder can be scary, but do not worry they are not a big deal.
The first time we recommend with decoders is to head to our documentation and check what you need to add a new one.
These references may be helpful:
Also, it may be a good idea to check current decoders to have some examples of what we want to achieve: https://github.com/wazuh/wazuh/tree/master/ruleset/decoders
Now is time to get into labour. The first thing I would recommend is to check what return have those logs in the logtest facility is in /var/ossec/bin/wazuh-logtest (if you doesn't have the last 4.2 version, the name will be ossec-logtest), this is a powerful ally when creating rules and decoders, here you can have more information about it: https://documentation.wazuh.com/current/user-manual/capabilities/wazuh-logtest/how-it-works.html
Now, knowing what you need, the following step is to create the custom decoder, the first thing you need is a parent decoder notice that your log structure is: date -> IP date data %% data : admin logged in from IP
To create the necessary regex to make the decoder work properly, we use regex101: https://regex101.com/
Here you can test your logs and extract the fields you need.
After every field implementation, we recommend testing it using the logtest facility.
Once you have all the fields you want to be extracted, you completed your first custom decoder!
If you need any additional help along the process or have any further questions, please do not hesitate to ask.
Best regards,