Skip to main content

Got an error as - "udm and entity are both non-nil"

  • May 9, 2024
  • 1 reply
  • 17 views

s_shubh
Forum|alt.badge.img+1

Hi Team, 

While parsing UDM Entity and UDM Event for under the same parser, I got following error. 

 

 

generic::invalid_argument: udm and entity are both non-nil"

 

 

Code is working perfectly while removing entity related confg blocks

1 reply

Forum|alt.badge.img+4
  • Staff
  • May 19, 2024

Hello,

I think the error message is indicating that the parser is parsing both into an UDM event and also a UDM entity, which may not be supported. If you need to parse the log file into specific fields for a noun in an UDM event, make sure that the noun is preceded by  event.idm.read_only_udm.

Hope this helps.