Hello,
I have used an xml filter plugin to parse for fields from an xml file.The data type of these fields are parsed as strings,is it possible to parse numeric values as integers?
Have tried using mutate filter listed below,it doesnt seem to change the data type.
xml {
source => "message"
store_xml => true
target => "parsed_xml"
# By default the filter will force single elements to be arrays. Setting force_array to false will prevent storing single elements in arrays
force_array => false
}
mutate {convert => {"CPUUTIL" => "integer" }}