Amazon Elasticsearch Service上的Elasticsearch Circle接收处理器

时间:2020-10-01 22:38:39

标签: elasticsearch aws-elasticsearch

我正在尝试使用circle处理器创建一个摄取管道,该处理器将圆转换为多边形,因为circle geo_shape在文档中已被弃用:

https://www.elastic.co/guide/en/elasticsearch/reference/7.4/ingest-circle-processor.html#_example_circle_defined_in_geojson

但是,当我针对我的Amazon Elasticsearch 7.7实例运行它时,它给了我以下错误:

{
   "error":{
      "processor_type":"circle",
      "reason":"No processor type exists with name [circle]",
      "root_cause":[
         {
            "processor_type":"'circle'",
            "reason":"'No processor type exists with name [circle]'",
            "suppressed":"[{'type': 'parse_exception', 'reason': 'No processor type exists with name [circle]', 'processor_type': 'circle'}]",
            "type":"'parse_exception'"
         }
      ],
      "suppressed":[
         {
            "processor_type":"'circle'",
            "reason":"'No processor type exists with name [circle]'",
            "type":"'parse_exception'"
         }
      ],
      "type":"parse_exception"
   },
   "status":400
}

据我了解,circle处理器自7.4版开始可用。

这是一个已知问题吗?有没有办法将此处理器添加到AWS的Elasticsearch中?

1 个答案:

答案 0 :(得分:1)

Circle处理器仅适用于x-pack。

x-pack不随标准ES软件包一起提供,而是有偿的。因此,如果您想使用处理器,请购买x-pack。

链接:https://www.elastic.co/guide/en/elasticsearch/reference/7.9/setup-xpack.html