| filter { | |
| csv { | |
| autodetect_column_names => true | |
| convert => { "id" => "integer" | |
| ..... | |
| "latitude" => "float" | |
| "longitude" => "float" | |
| } | |
| } | |
| mutate { | |
| rename => { | |
| "longitude" => "[location][lon]" | |
| "latitude" => "[location][lat]" | |
| } | |
| convert => { | |
| "[location]" => "geo_point" | |
| } | |
| } | |
| if ([id] == "id") { | |
| drop { } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment