Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GET ml_test_meters-2019_6/_search
- {
- "query": {
- "bool": {
- "must": [
- {
- "query_string": {
- "query": "*",
- "analyze_wildcard": true
- }
- },
- {
- "range": {
- "host-status.meta.current-time": {
- "gte": 1549611907552,
- "lte": 1549654551498,
- "format": "epoch_millis"
- }
- }
- }
- ],
- "must_not": []
- }
- },
- "size": 0,
- "_source": {
- "excludes": []
- },
- "aggs": {
- "2": {
- "date_histogram": {
- "field": "host-status.meta.current-time",
- "interval": "1m",
- "time_zone": "US/Central",
- "min_doc_count": 1
- },
- "aggs": {
- "3": {
- "terms": {
- "field": "host-status.name.keyword",
- "size": 500,
- "order": {
- "1": "desc"
- }
- },
- "aggs": {
- "1": {
- "avg": {
- "field": "host-status.status-properties.status-detail.total-cpu-stat-iowait"
- }
- }
- }
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment