Hello,
Stack version : 7.9.3
I found issue when I tried to create a machine learning job in kibana
The error : Detector field "clientIP.keyword" is not an aggregatable field
The data looks like this in kibana
{
"_index": "sample-dns-2021.03.07",
"_type": "_doc",
"_id": "71HPC3gBgsMd4G48HpLZ",
"_version": 1,
"_score": null,
"_source": {
"service": "tmm",
"requestLn": 45,
"origin": "CACHE",
"location": "AS ID Nama Kota ",
"questionName": "time-a.timefreq.bldrdoc.gov",
"answer": "{time-a.timefreq.bldrdoc.gov.\t295\tIN\tCNAME\ttime-a-b.nist.gov }",
"response": "DNS_RESPONSE",
"rulePath": "/Common/log_dns_query_2",
"clientIP": "103.124.89.250",
"clientDescription": "Testing only",
"queryTime": 0,
"responseLn": 119,
"@timestamp": "2021-03-07T08:30:26.504Z",
"pid": "27589",
"listener": "1.1.1.1",
"host": "192.68.1.1",
"message": "xxx",
"@version": "1",
"logLevel": "info",
"questionType": "AAAA",
"deviceTimestamp": "Mar 7 15:30:26",
"deviceHostname": "GTM Bla Bla"
},
"fields": {
"@timestamp": [
"2021-03-07T08:30:26.504Z"
]
},
"sort": [
1615105826504
]
}
Is there something wrong with field ClientIP that make it not aggregatable? I already using this field in my visualization and it works just fine.
Thank you