【问题标题】:how can i use aggregation in logstash-elasticsearch filter plugin我如何在 logstash-elasticsearch 过滤器插件中使用聚合
【发布时间】:2018-05-30 06:48:27
【问题描述】:
if[type] == "mytype"    {       elasticsearch       {
                hosts => ["192.168.1.1:9200"]
                index => "my_index"
                query_template => "/logstash/my_query.json"
                 aggregation_fields => 
                 {
                 "seqnumber" => "find_seqnumber"
                 }
          }
    }

为什么要为我返回这个错误?? ::

弹性搜索的未知设置'aggregation_fields'

在logstash日志中

【问题讨论】:

标签: logstash elasticsearch-plugin logstash-configuration


【解决方案1】:

这里是答案链接:

弹性搜索过滤器插件版本解决的问题

https://discuss.elastic.co/t/how-can-i-use-aggregation-in-logstash-elasticsearch-filter-plugin/133805/5

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-03-23
    • 2015-09-17
    • 2014-02-02
    • 1970-01-01
    • 1970-01-01
    • 2016-03-14
    相关资源
    最近更新 更多