Gibbs Kim's playground

[ElasticStack-2] Geo_point mapping template (json format) 본문

Tech 기록지/Elastic Stack

[ElasticStack-2] Geo_point mapping template (json format)

Lio Grande 2018. 10. 31. 17:18

ELK 5.x ~ 6.x 기준으로 작성된 내용이다.

(It is based on 5.x ~ 6.x versions of ELK)


{

"template" : "sample",

"mappings" :

{

"logs":

{

"properties":

{

"location":

{

"type" : "geo_point"

}

}

}

}

}