Hello.
I need to convert data from string to integer.
I use following syntax:
filter {
if [type] == "log1c"
{
csv
{
columns => [
"ReportDate","ReportTime","UserName","ErpMode","Action","ReportName","QueryType","ReportData","Field1","Field2"
]
separator => ";"
}
csv
{
source => "ReportData"
columns => [
"Uid","ReportAction","ReportDuration","DateOfStart","DateOfFinish"
]
separator => "|"
}
mutate
{
convert => { "ReportDuration" => "integer" }
}
}
But in Kibana i see that field ReportDuration still has string type.
How can I convert data from string to integer?
Thanks in advance.