Extract Coordinates From Field "log" and Create A New GeoPoint type from it

@yaauie Thanks for the suggestion. I've the below config file:

input {
  elasticsearch {
    hosts => ["localhost:9200"]
    query => '{ "query": "\"/places/v1\"","analyze_wildcard":true, "sort": [ "_doc" ] }'
  }
}
 
filter {
 kv {
		field_split => "&?"
		include_keys => [ "lat", "long" ]
 }
}
 
output {
   
  stdout {
    codec => rubydebug
  }
 
  elasticsearch {
    hosts => ["localhost:9200"]
  }
} 

I'm stuck at the output part. How do I map the extracted lat and long fileds to a geo_point type?