Anyone know how to give the namespace to the xpath command? When looking at the xpath command and other discussions they always speak to simple examples without namespaces.
For example when providing a modified xml from the Splunk examples with a namespace, it justifiably doesn't return a value anymore.
command: | xpath outfield=identity_id "//DataSet/identity_id"
| xpath outfield=identity_id "//DataSet/identity_id"
Any help would be appreciated.
According to Splunk, namespaces aren't supported as of 5.0.4. Disappointing, as only the most trivial xml based use cases can be handled at this time.
Hopefully a future release will include namespace support.
View solution in original post