> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeycomb.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Kubernetes Cluster Events

> Retrieve cluster events as logs

<Badge className="hny-badge-enterprise-addon" stroke>Ent+</Badge>

<Note>
  This feature is available as an add-on for the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/).
  Please contact your Honeycomb account team for details.
</Note>

## Supported Platforms

| Platform               | Metrics | Logs | Traces |
| :--------------------- | :------ | :--- | :----- |
| Kubernetes Deployment  |         | ✓    |        |
| OpenShift 4 Deployment |         | ✓    |        |

## Configuration Table

| Parameter       | Type      | Default | Description                                                                       |
| :-------------- | :-------- | :------ | :-------------------------------------------------------------------------------- |
| cluster\_name\* | `string`  |         | The cluster name that will be added as the `k8s.cluster.name` resource attribute. |
| namespaces      | `strings` |         | Namespaces to collect events from. Default to all namespaces.                     |

## Example Configuration

The Kubernetes Events source has two options:

* Cluster Name: The name of the cluster, which will be inserted as the `k8s.cluster.name` resource attribute
* Namespaces: List of namespaces to collector events from. This is optional and defaults to all namespaces.

<img src="https://mintcdn.com/honeycomb/yjwgE9IWY42i02gc/_assets/images/htp/xnapper-kubernetes-events-source.png?fit=max&auto=format&n=yjwgE9IWY42i02gc&q=85&s=0c2ace0cf9fc6ed3f9295e9cb88804e1" alt="Honeycomb Docs - Kubernetes Cluster Events - image 1" width="2166" height="2034" data-path="_assets/images/htp/xnapper-kubernetes-events-source.png" />

Once running on an agent, events will look like this:

<img src="https://mintcdn.com/honeycomb/yjwgE9IWY42i02gc/_assets/images/htp/xnapper-kubernetes-events-source-2.png?fit=max&auto=format&n=yjwgE9IWY42i02gc&q=85&s=76d1d2c6f333171923eed3887c11f4ce" alt="Honeycomb Docs - Kubernetes Cluster Events - image 2" width="3224" height="1892" data-path="_assets/images/htp/xnapper-kubernetes-events-source-2.png" />
