xmlkv
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
xmlkv
Synopsis
Extracts xml key-value pairs.
Syntax
xmlkv maxinputs-opt
Arguments
- maxinputs-opt
- Syntax:
- Description:
Description
Finds key value pairs of the form foobar</foo> where foo is the key and bar is the value from the _raw key.
Examples
Example 1: Extract field/value pairs from XML formatted data. "xmlkv" automatically extracts values between XML tags.
... | xmlkvExample 2: Example usage
... | xmlkv maxinputs=10000See also
extract, kvform, multikv, rex, xpath
This documentation applies to the following versions of Splunk: 4.0 , 4.0.1 , 4.0.2 , 4.0.3 , 4.0.4 , 4.0.5 , 4.0.6 , 4.0.7 , 4.0.8 , 4.0.9 , 4.0.10 , 4.0.11 View the Article History for its revisions.