From input csv data I have 2 fields of location - lat and long.
How can I construct a geo_point location field to create map visualization in logstash config (version 7.6)?
Thank you.
' ' ' '
filter {
csv{
separator => ";"
columns => ["Province/State","Country/Region","Lat","Long","Date","Cases","Deaths"]
skip_empty_columns => "true"
skip_header => "true"
}
mutate{
convert => { "Cases" => "integer" }
convert => { "Deaths" => "integer" }
}
mutate{
convert => { "Lat" => "float" }
convert => { "Long" => "float" }
}
date {
match => [ "Date", "dd/MM/yyyy" ]
timezone => "UTC"
target => "@timestamp"
}
}
