﻿---
title: Kubernetes event metricset
description: This 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...
url: https://www.elastic.co/elastic/docs-builder/docs/3007/reference/beats/metricbeat/metricbeat-metricset-kubernetes-event
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Kubernetes event metricset
This is the `event` metricset of the Kubernetes module.

## Fields

For a description of each field in the metricset, see the [exported fields](https://www.elastic.co/elastic/docs-builder/docs/3007/reference/beats/metricbeat/exported-fields-kubernetes) section.
Here is an example document generated by this metricset:
```json
{
    "@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"
    }
}
```