Hi Everyone,
I'm pretty new to new to ELK and i've made a mapper "location" which is a geo_point type so I can pass my lat and long data to it.
This is how I've mapped it
`PUT my_index
{
  "mappings": {
    "location": {
      "properties": {
        "location": {
          "type": "geo_point"
        }
      }
    }
  }
}`
It seems to be taking inputs correctly but I get this weird error(with picture of error message below)
"reason=>{"create"=>{"index"=>"logstash-2016.02.10v8", "type"=>"logs", "__id"=>"AVLOr7VExrrwFF6j5zLP", "status"=>400, "error"=>{"type"=>"illegal_argument_exception", "reason"=>"mapper [location] cannot be changed from type [geo_point] to [long]"}}}, :level=>:warn}
It seems like something is trying to change location's type and I have nothing in my configuration file that does that. I'm curious how I can stop this from happening/identify what is attempting to change "mapper [location]"
here is my confg
`filter {
  mutate {
      convert => { "lat" => "float" }
      convert => { "lon" => "float" }
      add_field => { "location" => "%{lat}" }
      add_field => { "location" => "%{lon}" }
      }
  geoip {
    source => "geoip.ip"
    add_field => { "geoip_location" => "%{lat}" }
    add_field => { "geoip_location" => "%{lon}" }
  }
   grok {
     # match => { "imei" => "%{GREEDYDATA:imei_num}" }
	   match => { "__createdAt" => "%{GREEDYDATA:event_data}" }
     }
}
`
Thanks for any help!!