I have written a parser. But how am I supposed to create a UDM field for device action? This parser is throwing an error which is as followed :
generic::unknown: pipeline.ParseLogEntry failed: LOG_PARSING_CBN_ERROR: "generic::invalid_argument: failed to convert raw output to events: failed to convert raw message 0: field \\"idm\\": index 0: recursive rawDataToProto failed: field \\"read_only_udm\\": index 0: recursive rawDataToProto failed: field \\"security_result\\": failed to make strategy: received non-slice or non-array raw output for repeated field"
In this case, the error is related to security_result UDM field because it's an repeated field (UDM field list | Google Security Operations | Google Cloud), you need to convert the act variable from string to array in the following way:
In this case, the error is related to security_result UDM field because it's an repeated field (UDM field list | Google Security Operations | Google Cloud), you need to convert the act variable from string to array in the following way: