Du ser en gammel version af denne side. Se den nuværende version.

Sammenlign med nuværende Vis sidehistorik

Version 1 Næste »

To Add Geocoordinates to an index, use

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

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

  • Ingen etiketter