Parsleaf

Google SecOps parser errors

field "…": no descriptor found

The UDM path you wrote does not exist. Check the spelling against the UDM field list; the field named in the error is the wrong one.

The error

recursive rawDataToProto failed: field \"intermediary_nat\": no descriptor found

Why it happens

SecOps could not find the field named in the error at that place in the UDM schema. It is either misspelled or invented.

Common ones: intermediary_nat (use intermediary.ip), read_only_udm.user (use principal.user or target.user), target.ip_address (use target.ip), principal.user.username (use principal.user.userid or user_display_name).

How to fix it

Fails:

mutate {
  replace => { "event.idm.read_only_udm.intermediary_nat" => "%{nat_ip}" }
}

Works:

mutate {
  merge => { "event.idm.read_only_udm.intermediary.ip" => "nat_ip" }
  on_error => "nat_ip_merge_failed"
}

Still failing?

One error usually hides the next. Parsleaf writes the full parser from your sample logs and keeps fixing it from the errors your SecOps tenant returns, until it passes. Generate your parser: the first one is free.

Other parser errors