umay_fb
(umay fb)
February 7, 2020, 8:08am
1
i have data like :
{
"lon": 106.733924,
"lat": -6.161368
}
and i want to import this data to Kibana With type "geo_point"
"geopoint1": {
"type": "geo_point"
},
but i alway get error "failed to parse field [geopoint1] of type [geo_point]"
how to slove this problem?
Thnks before....
Can you try creating the index and inserting documents in console ? What do your failed commands look like?
You should be able to insert geo_points with the following commands
PUT my_index
{
"mappings": {
"properties": {
"location": {
"type": "geo_point"
}
}
}
}
PUT my_index/_doc/1
{
"text": "Geo-point as an object",
"location": {
"lat": 41.12,
"lon": -71.34
}
}
umay_fb
(umay fb)
February 12, 2020, 4:54am
3
thnks,,
i had found the error..
"location": {
"lat": 41.12,
"lon": -71.34
this data type must string
system
(system)
Closed
March 11, 2020, 4:55am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.