I'm trying to create a custom parser for events that contain the "callerIsGceClient": true
For all events that contain it I want it to be a part of the UDM.
Any advice on how I can create a custom parser for this? The custom parser language doesn't seem intuitive nor does the docs.
Event example:
Custom Parser for GCP Audit Logs
{
"protoPayload": {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"status": {
"code": 7
},
"authenticationInfo": {
"principalEmail": "111111-compute@developer.gserviceaccount.com"
},
"requestMetadata": {
"callerIp": "35.211.1.1",
"callerSuppliedUserAgent": "apitools Python/3.11.9 gsutil/5.31 (linux) analytics/disabled interactive/False command/ls google-cloud-sdk/502.0.0,gzip(gfe)",
"callerIsGceClient": true,
"requestAttributes": {
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.