[Docs] Change indexes -> indices in datafeed config example (elastic/x-pack-elasticsearch#2227)

Original commit: elastic/x-pack-elasticsearch@7ddd36360e
This commit is contained in:
David Kyle 2017-08-10 16:22:59 +01:00 committed by GitHub
parent 35ee552923
commit c4910098b0
1 changed files with 2 additions and 29 deletions

View File

@ -71,7 +71,7 @@ The API returns the following results:
"job_id": "it-ops-kpi",
"query_delay": "60s",
"frequency": "150s",
"indexes": [
"indices": [
"it_ops_metrics"
],
"types": [
@ -84,36 +84,9 @@ The API returns the following results:
"boost": 1
}
},
"aggregations": {
"buckets": {
"date_histogram": {
"field": "@timestamp",
"interval": 30000,
"offset": 0,
"order": {
"_key": "asc"
},
"keyed": false,
"min_doc_count": 0
},
"aggregations": {
"events_per_min": {
"sum": {
"field": "events_per_min"
}
},
"@timestamp": {
"max": {
"field": "@timestamp"
}
}
}
}
},
"scroll_size": 1000,
"chunking_config": {
"mode": "manual",
"time_span": "30000000ms"
"mode": "auto"
}
}
]