Fielddata is disabled on text fields by default Set fielddata=true on [service.address]
2024-09-08 18:16:18
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
}
}
}
}
}
}
}
}
}
}
}
最新文章
- seajs模块化作用理解(一句话)
- 职责链(Chain of Responsibility)模式在航空货运中的运用实例
- 运行python代码报错UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 91: ordinal not in range(128)的解决办法
- HashMap与TreeMap的区别
- 老调重弹:对kvo的封装思路
- BI商业智能项目中的若干风险要素
- port与大全portClose方法
- maven项目如何引用本地的jar包
- java日期处理函数
- Knockout Mvc Compoment FrameSet
- php实现获取汉字的首字母
- SpringMVC 构建Restful风格 及问题处理
- 重装完的win10卡“请稍等”,然后电脑不断自动重启还是卡在“请稍等”?
- Logstash 6.4.3 导入 csv 数据到 ElasticSearch 6.4.3
- 在 Android 的文字编辑控件 (TEdit) 中, 如何按下 Enter 就隐藏虚拟键盘
- 使用swagger来编写在线api文档
- linux实用操作
- windows10下安装source insight 4.0(破解版)
- openstack 部署笔记--keystone
- What is API Level?
热门文章
- 梯度下降GD,随机梯度下降SGD,小批量梯度下降MBGD
- PostgreSQL的查询技巧: 零除, GENERATED STORED, COUNT DISTINCT, JOIN和数组LIKE
- 【python】自动更新pu口袋校园活动
- E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/t
- 全网最新的nacos 2.1.0集群多节点部署教程
- vlan配置
- Odoo14 一些用的熟手的函数
- docker容器技术基础入门
- WindTerm:新一代开源免费的终端工具,GitHub星标6.6k+,太酷了!
- Badusb 资料整理