xmlkv
Table of Contents
| This command is experimental |
Definition
Examples
Use xmlkv command to extract XML content into separate columns. By default, xmlkv extracts from the _raw column.
index=crud_xml earliest=-5y
| xmlkv
|
Currently, |
|
Currently, |
Extract XML content from the certain column
You can define a column which you want to extract the data from. By default xmlkv command will extract from the _raw column.
| makeresults
| eval test = "<data><timestamp_epoch>1640930173</timestamp_epoch></data>"
| xmlkv test
|
Currently, |
maxinputs
|
|
You can define the maximum number of events that can be used as input for the xmlkv command.
index=crud_xml earliest=-5y
| xmlkv maxinputs=10
|
Currently, |