我使用了Elasticsearch 5.5
我发布查询
{
"_source":["http_cliadd","http_host"],
"query": {
"bool": {
"must": [
{
"match_all": { }
}
],
"must_not": [ ],
"should": [ ]
}
},
"from": 0,
"size": 1000,
"sort": [ ],
"aggs": { }
}
结果值
{
"_index": "wk_201902_3",
"_type": "http",
"_id": "2c7d11e9-be29-9719-cdba-080027553731",
"_score": 1,
"_source": {
"http_cliadd": "0000:0000:0000:0000:0000:ffff:0a69:1504",
"http_host": "10.105.21.3/"
}
}
{
"_index": "wk_201902_3",
"_type": "http",
"_id": "2c7d11e9-be29-9719-cdba-080027553731",
"_score": 1,
"_source": {
"http_cliadd": "0000:0000:0000:0000:0000:ffff:0a69:1504",
"http_host": "10.105.21.3/"
}
}
cliadd ipv6(0000:0000:0000:0000:0000:ffff:0a69:1504)
但是我看到了http_cliadd ipv4
该字段怎么做?