I have an extracted field that is in XML format but when trying to access values via the path to my data I get the following error:
Invalid path '/SOAP-ENV:Envelope/SOAP-ENV:Body/ns2:tag1/ns2:tag2/ns2:tag3': No URL found for prefix:SOAP-ENV
In reality, my XML does not rely on these namespaces to differentiate between fieldnames, so in other applications where I need to parse the XML, I wildcard the namespaces and I'm able to access the path. When doing this in sumo logic, I get this error:
Invalid path '/*:Envelope/*:Body/*:tag1/*:tag2/*:tag3': string matching regex `[a-zA-Z_][a-zA-Z0-9_\-\.]*' expected but `*' found.
Is there a way to have the sumologic parsing algorithm ignore the namespaces?
Please sign in to leave a comment.