This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Kubernetes event metricset
editKubernetes event metricset
editThis is the event
metricset of the Kubernetes module.
For a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{ "@timestamp": "2017-05-15T08:07:12.945Z", "beat": { "hostname": "hostname", "name": "beatname", "version": "6.0.0-alpha2" }, "kubernetes": { "event": { "count": 1, "involved_object": { "api_version": "extensions", "kind": "ReplicaSet", "name": "prometheus-2552087900", "resource_version": "1047038", "uid": "b2f92f14-2ad5-11e7-8cb8-e687a39f6e48" }, "message": "Created pod: prometheus-2552087900-9fxh6", "metadata": { "generate_name": "", "name": "prometheus-2552087900.14bf266355fd16e0", "namespace": "default", "resource_version": "1047243", "self_link": "/api/v1/namespaces/default/events/prometheus-2552087900.14bf266355fd16e0", "timestamp": { "created": "2017-05-16T10:30:09-07:00", "deleted": "" }, "uid": "4f3fe524-3a5d-11e7-b8f2-e687a39f6e48" }, "reason": "SuccessfulCreate", "timestamp": { "first_occurrence": "2017-05-16T17:30:09Z", "last_occurrence": "2017-05-16T17:30:09Z" }, "type": "Normal" } }, "metricset": { "module": "kubernetes", "name": "event" } }