Is it Possible to Use Histogram Facet or Its Curl Response in Kibana

无人久伴 提交于 2020-01-03 18:57:33

问题


Is it possible to use a manually created histogram facet (or the results of its curl request) like this one in a Kibana dashboard:

{
    "query" : {
        "match_all" : {}
    },
    "facets" : {
        "histo1" : {
            "histogram" : {
                "key_script" : "doc['date'].date.minuteOfHour * factor1",
                "value_script" : "doc['num1'].value + factor2",
                "params" : {
                    "factor1" : 2,
                    "factor2" : 3
                }
            }
        }
    }
}

Thanks


回答1:


It looks like it will be supported in Kibana4, but there doesn't seem to be much more info out there than that.

For reference: https://github.com/elasticsearch/kibana/issues/1249



来源:https://stackoverflow.com/questions/18986803/is-it-possible-to-use-histogram-facet-or-its-curl-response-in-kibana

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!