Hi, I am importing a csv file and need to convert the fields that contain numbers to float to compute them in Kibana. However the bytes fields that contain volume of data should in Kibana be recognized as such. How can I do this, here is the current filter configuration I am using:
filter {
csv {
columns => [
"BytesDownloaded",
"BytesUploaded",
]
separator => ","
remove_field => ["message"]
}
mutate {
convert => { "BytesDownloaded" => "float" }
convert => { "BytesUploaded" => "float" }
}
}
}