[Monitoring] Update Beats Template with Metrics (elastic/x-pack-elasticsearch#2902)

* [Monitoring] Update Beats Template with Metrics

- remove source_node.timestamp
- includes mapping for beat type = Metricbeat

* remove metricbeat and xpack objects which are not used in the UI

* use long instead of integer type

Original commit: elastic/x-pack-elasticsearch@083b9cc575
This commit is contained in:
Tim Sullivan 2017-11-30 13:33:16 -07:00 committed by GitHub
parent d2172be562
commit 6f4484c287
1 changed files with 130 additions and 4 deletions

View File

@ -37,10 +37,6 @@
}, },
"name": { "name": {
"type": "keyword" "type": "keyword"
},
"timestamp": {
"type": "date",
"format": "date_time"
} }
} }
}, },
@ -71,6 +67,136 @@
"type": "keyword" "type": "keyword"
} }
} }
},
"metrics": {
"properties": {
"beat": {
"properties": {
"memstats": {
"properties": {
"gc_next": {
"type": "long"
},
"memory_alloc": {
"type": "long"
},
"memory_total": {
"type": "long"
}
}
}
}
},
"libbeat": {
"properties": {
"config": {
"properties": {
"module": {
"properties": {
"running": {
"type": "long"
},
"starts": {
"type": "long"
},
"stops": {
"type": "long"
}
}
},
"reloads": {
"type": "long"
}
}
},
"output": {
"properties": {
"events": {
"properties": {
"acked": {
"type": "long"
},
"active": {
"type": "long"
},
"batches": {
"type": "long"
},
"failed": {
"type": "long"
},
"total": {
"type": "long"
}
}
},
"read": {
"properties": {
"bytes": {
"type": "long"
},
"errors": {
"type": "long"
}
}
},
"type": {
"type": "keyword"
},
"write": {
"properties": {
"bytes": {
"type": "long"
},
"errors": {
"type": "long"
}
}
}
}
},
"pipeline": {
"properties": {
"clients": {
"type": "long"
},
"events": {
"properties": {
"active": {
"type": "long"
},
"dropped": {
"type": "long"
},
"failed": {
"type": "long"
},
"filtered": {
"type": "long"
},
"published": {
"type": "long"
},
"retry": {
"type": "long"
},
"total": {
"type": "long"
}
}
},
"queue": {
"properties": {
"acked": {
"type": "long"
}
}
}
}
}
}
}
}
} }
} }
} }