【问题标题】:How do I extract only "message" field values from kibana?如何从 kibana 中仅提取“消息”字段值?
【发布时间】:2021-05-06 02:00:02
【问题描述】:

如何从 kibana 中仅提取“消息”字段值?

-> 看图,想擦掉_index、_type、_id、_score分数,只打印出_source中“message”字段的值。

我在 Google 上进行了搜索,但找不到方法。 请教我方法。

这是我尝试过的方式。

 GET 0503instgram_csv/_search
    {
      "_source": [
        "message"
      ]
    }

【问题讨论】:

    标签: elasticsearch kibana


    【解决方案1】:

    您可以使用response filtering 仅在响应中显示message 字段

    http://localhost:9200/index-name/_search?_source=message&filter_path=hits.hits._source
    

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-01-24
    • 1970-01-01
    • 1970-01-01
    • 2019-07-16
    • 2020-03-26
    • 1970-01-01
    • 2018-08-31
    相关资源
    最近更新 更多