简体   繁体   English

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

[英]How do I extract only "message" field values from kibana?

How do I extract only "message" field values from kibana?如何从 kibana 中仅提取“消息”字段值?

在此处输入图像描述 -> Looking at the picture, I want to erase the _index, _type, _id, and _score scores, and print out only the value of the "message" field in the _source. -> 看图,想擦掉_index、_type、_id、_score分数,只打印出_source中“message”字段的值。

I searched Google, but I couldn't find a way.我搜索了谷歌,但我找不到方法。 Please teach me the way.请教我方法。

It's the way I tried it.这是我尝试过的方式。

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

You can use response filtering to just show the message field in the response您可以使用响应过滤仅在响应中显示message字段

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM