ELK를 설정하여 PaloAlto 방화벽과 작동하도록 설정하고 있지만 맵핑에 문제가 있습니다. 나는 다음과 같은 코드를 가지고 : 나는 당신이 숫자 필드와 같은 값의 IT 인덱스 있도록 지정하는 true로 PARAM의 lat_lon를 넣을 수 있습니다 https://www.elastic.co/guide/en/elasticsearch/reference/2.1/lat-lon.html 공식 문서에서 본 것처럼Elasticsearch 매핑 geopoint unsuborted 매개 변수
"mappings":{
"_default_":{
"_all":{
"enabled":true
},
"dynamic_templates":[
{
"message_field":{
"match":"message",
"match_mapping_type":"string",
"mapping":{
"type":"string",
"index":"analyzed",
"omit_norms":true
}
}
},
{
"string_fields":{
"match":"*",
"match_mapping_type":"string",
"mapping":{
"type":"string",
"index":"analyzed",
"omit_norms":true,
"fields":{
"raw":{
"type":"string",
"index":"not_analyzed",
"ignore_above":256
}
}
}
}
}
],
"properties":{
"@version":{
"type":"string",
"index":"not_analyzed"
},
"geoip":{
"type":"object",
"dynamic":true,
"path":"full",
"properties":{
"location":{
"type":"geo_point",
"lat_lon":true,
"geohash":true
}
}
},
.
하지만 그 대신 내가이 오류 받고 있어요 : 내가 잘못
{
"error" : {
"root_cause" : [
{
"type" : "mapper_parsing_exception",
"reason" : "Mapping definition for [location] has unsupported parameters: [geohash : true] [lat_lon : true]"
}
],
"type" : "mapper_parsing_exception",
"reason" : "Failed to parse mapping [_default_]: Mapping definition for [location] has unsupported parameters: [geohash : true] [lat_lon : true]",
"caused_by" : {
"type" : "mapper_parsing_exception",
"reason" : "Mapping definition for [location] has unsupported parameters: [geohash : true] [lat_lon : true]"
}
},
"status" : 400
}
을하고있어 무엇을?