mapping
-----------------------------
"cookies" : {
"properties" : {
"JSESSIONID" : {
"type" : "keyword",
"ignore_above" : 1024
},
"cee" : {
"type" : "keyword",
"ignore_above" : 10240
},
"ce.um.mag.user" : {
"type" : "keyword",
"ignore_above" : 10240
}
}
},
"url" : {
"properties" : {
"full" : {
"type" : "keyword",
"ignore_above" : 1024
},
"hostname" : {
"type" : "keyword",
"ignore_above" : 10240
},
"ab" : {
"type" : "keyword",
"ignore_above" : 10240
},
"pathname" : {
"type" : "keyword",
"ignore_above" : 1024
},
"port" : {
"type" : "keyword",
"ignore_above" : 1024
},
"protocol" : {
"type" : "keyword",
"ignore_above" : 1024
}
}
}
-----------------------------
使用 ab 可以查到数据,使用cee却查不到数据,请问是怎么回事?
-----------------------------
"cookies" : {
"properties" : {
"JSESSIONID" : {
"type" : "keyword",
"ignore_above" : 1024
},
"cee" : {
"type" : "keyword",
"ignore_above" : 10240
},
"ce.um.mag.user" : {
"type" : "keyword",
"ignore_above" : 10240
}
}
},
"url" : {
"properties" : {
"full" : {
"type" : "keyword",
"ignore_above" : 1024
},
"hostname" : {
"type" : "keyword",
"ignore_above" : 10240
},
"ab" : {
"type" : "keyword",
"ignore_above" : 10240
},
"pathname" : {
"type" : "keyword",
"ignore_above" : 1024
},
"port" : {
"type" : "keyword",
"ignore_above" : 1024
},
"protocol" : {
"type" : "keyword",
"ignore_above" : 1024
}
}
}
-----------------------------
使用 ab 可以查到数据,使用cee却查不到数据,请问是怎么回事?
2 个回复
rochy - rochy_he
赞同来自: jybbh
应该是索引模板里面定义了
jybbh - 80后IT男
赞同来自:
"request": {
"properties": {
"body": {
"type": "object",
"enabled": false
},
"cookies": {
"enabled": false,
"properties": {
"ce": {
"properties": {
"um": {
"properties": {
"mag": {
"properties": {
"user": {
"type": "keyword",
"ignore_above": 10240
}
}
}
}
}
}
},
"cee": {
"type": "keyword",
"ignore_above": 10240
}
}
},
"env": {
"type": "object",
"enabled": false
},
"headers": {
"type": "object",
"enabled": false
},
"http_version": {
"type": "keyword",
"ignore_above": 1024
},
"method": {
"type": "keyword",
"ignore_above": 1024
},
"socket": {
"type": "object",
"enabled": false
},
"url": {
"properties": {
"ab": {
"type": "keyword",
"ignore_above": 10240
},
"full": {
"type": "keyword",
"ignore_above": 1024
},
"hash": {
"type": "keyword",
"ignore_above": 1024
},
"hostname": {
"type": "keyword",
"ignore_above": 10240
},
"pathname": {
"type": "keyword",
"ignore_above": 1024
},
"port": {
"type": "keyword",
"ignore_above": 1024
},
"protocol": {
"type": "keyword",
"ignore_above": 1024
},
"raw": {
"type": "keyword",
"ignore_above": 1024
},
"search": {
"type": "keyword",
"ignore_above": 1024
}
}
}
}
},