Hi Daniel,
Thanks for the clarification! So, if I understood correctly, your log gets decoded by the windows_eventchannel decoder, but you would like to rename the data.subject.account_name field to make it data.windows.eventdata.targetUserName, right?
Usually, for a regular decoder, you could create a child decoder, but since windows_eventchannel is embedded into Wazuh's source code, the possibility of adding new child decoders there is still under development. You can track this issue to see the progress:
In the meantime, as a workaround, you could write your rules using the decoded fields from the windows_eventchannel decoder. If you need help with that custom rule, I can assist you.