Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

Kodeblok
curl -XPUT http://localhost:9200/syslog-2015.05.18 -d '
{
 "mappings" : {
  "log" : {
   "properties" : {
    "geo" : {
     "properties" : {
      "coordinates" : {
       "type" : "geo_point"
      }
     }
    }
   }
  }
 }
}
';

OF Of cause, the "syslog-2015.05.18" is variable from installation to installation, I do but Apache logs into the filebeat index.

 

When You have data in with Geocoordinates, refresh index fields:

Image Added