2个字段的:

PUT metricbeat-7.3.0/_mapping
{
"properties": {
"service": {
"properties": {
"address": {
"type": "text",
"fielddata": true,
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
}
}

3个字段的:

PUT metricbeat-7.3.0/_mapping
{
"properties": {
"kafka": {
"properties": {
"topic": {
"properties": {
"name":{
"type": "text",
"fielddata": true,
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
} }
}
}
}
}

4个字段的:

PUT metricbeat-7.3.0/_mapping
{
"properties": {
"kafka": {
"properties": {
"consumergroup": {
"properties": {
"client":{
"properties": {
"id": {
"type": "text",
"fielddata": true,
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
}
}
}
}
}
}

最新文章

  1. seajs模块化作用理解(一句话)
  2. 职责链(Chain of Responsibility)模式在航空货运中的运用实例
  3. 运行python代码报错UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 91: ordinal not in range(128)的解决办法
  4. HashMap与TreeMap的区别
  5. 老调重弹:对kvo的封装思路
  6. BI商业智能项目中的若干风险要素
  7. port与大全portClose方法
  8. maven项目如何引用本地的jar包
  9. java日期处理函数
  10. Knockout Mvc Compoment FrameSet
  11. php实现获取汉字的首字母
  12. SpringMVC 构建Restful风格 及问题处理
  13. 重装完的win10卡“请稍等”,然后电脑不断自动重启还是卡在“请稍等”?
  14. Logstash 6.4.3 导入 csv 数据到 ElasticSearch 6.4.3
  15. 在 Android 的文字编辑控件 (TEdit) 中, 如何按下 Enter 就隐藏虚拟键盘
  16. 使用swagger来编写在线api文档
  17. linux实用操作
  18. windows10下安装source insight 4.0(破解版)
  19. openstack 部署笔记--keystone
  20. What is API Level?

热门文章

  1. 梯度下降GD,随机梯度下降SGD,小批量梯度下降MBGD
  2. PostgreSQL的查询技巧: 零除, GENERATED STORED, COUNT DISTINCT, JOIN和数组LIKE
  3. 【python】自动更新pu口袋校园活动
  4. E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/t
  5. 全网最新的nacos 2.1.0集群多节点部署教程
  6. vlan配置
  7. Odoo14 一些用的熟手的函数
  8. docker容器技术基础入门
  9. WindTerm:新一代开源免费的终端工具,GitHub星标6.6k+,太酷了!
  10. Badusb 资料整理