如何在kibana timelion es查询中指定索引和类型信息?

时间:2019-04-01 18:40:21

标签: kibana timelion

我正在尝试显示与索引和类型信息一起存储的文档的内容。包含该字段的同一索引内可能还有其他类型。在timelion中查询时如何提及索引和类型信息?

{
  "_index": "custom",
  "_type": "report",
  "_id": "ajkd8832-72f6-4dc3-f426-ae6c2d7oi987",
  "_version": 1,
  "_score": null,
  "_source": {
    "status": "SUCCESSFUL",
    "customId": "6eed99c4-70k6-4mn3-a926-ae6n4d7d0a22",
    "customCount": 50,
    "date": "20190329T123907-0700",
  }
}

以下可能是具有customCount的具有相同结构的另一种类型

{
  "_index": "custom",
  "_type": "text",
  "_id": "ajkd8832-72f6-4dc3-f426-ae6c2d7oi987",
  "_version": 1,
  "_score": null,
  "_source": {
    "status": "SUCCESSFUL",
    "customId": "6eed99c4-70k6-4mn3-a926-ae6njh7d0a22",
    "customCount": 50,
    "date": "20190329T123907-0700",
  }
}

我看了下面关于stackoverflow的问题: Kibana Timelion plugin how to specify a field in the elastic search

但是它不能说明类型信息。

我们如何区分“报告”和“文本”类型?

0 个答案:

没有答案