In Kabana can you create a line chart from a custom aggregation?

眉间皱痕 提交于 2021-01-29 08:51:03

问题


I have a nested aggregation which returns data like:

  "aggregations" : {
    "builds" : {
      "buckets" : [
        {
          "key" : 1610145879928,
          "key_as_string" : "2021-01-08T22:44:39.928Z",
          "total_duration_parent" : {
            "total_duration_ms" : { "value" : 3515.0 }
          }
        },
        {
          "key" : 1610146149159,
          "key_as_string" : "2021-01-08T22:49:09.159Z",
          "total_duration_parent" : {
            "total_duration_ms" : { "value" : 6206.0 }
          }
        },
        {
          "key" : 1610146149564,
          "key_as_string" : "2021-01-08T22:49:09.564Z",
          "total_duration_parent" : {
            "total_duration_ms" : { "value" : 6714.0 }
          }
        },

Is it possible to use this aggregation output in a visualization to create a time-series line chart of the data?

来源:https://stackoverflow.com/questions/65835870/in-kabana-can-you-create-a-line-chart-from-a-custom-aggregation

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