Hi,
I'm parsing the csv output of a command to logstash which has a dynamic number of columns. All the column values are interger except one which is a time field. By default logstash takes them all as strings. How can I convert all the dynamic columns to integer?
Below is my filter
filter {
split {}
csv {
autodetect_column_names => true
}
date {
match => ["TIME", "yyyy-MM-dd HH:mm:ss"]
}
mutate {
remove_field => ["host"]
}
}
