Hi,
I'm trying to set up a single metric machine learning job but after selecting 'index' and 'Aggregation' the 'Field' combobox is just empty.
Here is my json:
{
"_index": "metrics-2017.08.10",
"_type": "log",
"_id": "AV3LzmOOYz7FmQ9AaTkm",
"_version": 1,
"_score": null,
"_source": {
"@timestamp": "2017-08-10T11:01:26.846Z",
"metric": {
"mean_rate": "0.2010489723383618",
"m1": "2.1173417191770407",
"max": "1687.074818",
"count": "1199",
"m5": "1.826075044153773",
"rate_unit": "events/second",
"type": "TIMER",
"p95": "4.488348",
"duration_unit": "milliseconds",
"p98": "5.715514",
"p75": "2.781478",
"m15": "0.9928718861650215",
"p99": "12.113707",
"min": "0.535673",
"median": "1.991261",
"mean": "2.3103161846115925",
"name": "com.codahale.metrics.servlet.InstrumentedFilter.requests",
"p999": "18.361678",
"stddev": "2.993733835792281"
},
"host": "18e27f7d0ef6",
"source": "/var/log/metrics/log-generator-metrics.log",
"fields": {
"file_type": "metrics"
},
"type": "log",
"tags": [
"beats_input_codec_plain_applied"
]
},
"fields": {
"@timestamp": [
1502362886846
]
},
"highlight": {
"metric.name": [
"@kibana-highlighted-field@com.codahale.metrics.servlet.InstrumentedFilter.requests@/kibana-highlighted-field@"
]
},
"sort": [
1502362886846
]
}
Let's say that I would like to detect anomalies in metric.m1
. Is there something wrong with my sample data ?