Skip to main content

Parsing Error Message

  • Mar 13, 2025 9:38 PM UTC
  • 3 replies
  • 115 views

Forum|alt.badge.img+3

Has anyone encountered this error before when testing a parser: "udm validation failed: principal field is not set: invalid argument"?

3 replies

mikewilusz
Staff
Forum|alt.badge.img+10
  • Staff
  • Mar 13, 2025 11:02 PM UTC

My guess is you're using a metadata.event_type that requires the use of principal fields, which are currently not set. This is documented here. If you provide more details on the parser and data I can offer some ideas.

-mike


Forum|alt.badge.img+3
  • Author
  • New Member
  • Mar 14, 2025 12:24 AM UTC

Here's the code snippet. I see the "SETTINGS_MODIFICATION" in statedump output, but UDM fails overall due to error from original post.

 

 


cmorris
Staff
Forum|alt.badge.img+17
  • Staff
  • Mar 14, 2025 2:11 AM UTC

Here's the code snippet. I see the "SETTINGS_MODIFICATION" in statedump output, but UDM fails overall due to error from original post.

 

 


Like Mike shared, metadata.event_types may have required fields. For the SETTING_MODIFICATION event type, those fields are here - https://cloud.google.com/chronicle/docs/unified-data-model/udm-usage#udm_example_setting_. It looks like the error you are getting is due to the requirement for "principal: Must be present, non-empty, and include a machine identifier." From that link, in addition to adding a principal, you are going to need to add a target as well.