Chapter 27. kubernetes

The namespace for Kubernetes-specific metadata

Data type

group

27.1. kubernetes.pod_name

The name of the pod

Data type

keyword

27.2. kubernetes.pod_id

The Kubernetes ID of the pod

Data type

keyword

27.3. kubernetes.namespace_name

The name of the namespace in Kubernetes

Data type

keyword

27.4. kubernetes.namespace_id

The ID of the namespace in Kubernetes

Data type

keyword

27.5. kubernetes.host

The Kubernetes node name

Data type

keyword

27.6. kubernetes.container_name

The name of the container in Kubernetes

Data type

keyword

27.7. kubernetes.annotations

Annotations associated with the Kubernetes object

Data type

group

27.8. kubernetes.labels

Labels present on the original Kubernetes Pod

Data type

group

27.9. kubernetes.event

The Kubernetes event obtained from the Kubernetes master API. This event description loosely follows type Event in Event v1 core.

Data type

group

27.9.1. kubernetes.event.verb

The type of event, ADDED, MODIFIED, or DELETED

Data type

keyword

Example value

ADDED

27.9.2. kubernetes.event.metadata

Information related to the location and time of the event creation

Data type

group

27.9.2.1. kubernetes.event.metadata.name

The name of the object that triggered the event creation

Data type

keyword

Example value

java-mainclass-1.14d888a4cfc24890

27.9.2.2. kubernetes.event.metadata.namespace

The name of the namespace where the event originally occurred. Note that it differs from kubernetes.namespace_name, which is the namespace where the eventrouter application is deployed.

Data type

keyword

Example value

default

27.9.2.4. kubernetes.event.metadata.uid

The unique ID of the event

Data type

keyword

Example value

d828ac69-7b58-11e7-9cf5-5254002f560c

27.9.2.5. kubernetes.event.metadata.resourceVersion

A string that identifies the server’s internal version of the event. Clients can use this string to determine when objects have changed.

Data type

integer

Example value

311987

27.9.3. kubernetes.event.involvedObject

The object that the event is about.

Data type

group

27.9.3.1. kubernetes.event.involvedObject.kind

The type of object

Data type

keyword

Example value

ReplicationController

27.9.3.2. kubernetes.event.involvedObject.namespace

The namespace name of the involved object. Note that it may differ from kubernetes.namespace_name, which is the namespace where the eventrouter application is deployed.

Data type

keyword

Example value

default

27.9.3.3. kubernetes.event.involvedObject.name

The name of the object that triggered the event

Data type

keyword

Example value

java-mainclass-1

27.9.3.4. kubernetes.event.involvedObject.uid

The unique ID of the object

Data type

keyword

Example value

e6bff941-76a8-11e7-8193-5254002f560c

27.9.3.5. kubernetes.event.involvedObject.apiVersion

The version of kubernetes master API

Data type

keyword

Example value

v1

27.9.3.6. kubernetes.event.involvedObject.resourceVersion

A string that identifies the server’s internal version of the pod that triggered the event. Clients can use this string to determine when objects have changed.

Data type

keyword

Example value

308882

27.9.4. kubernetes.event.reason

A short machine-understandable string that gives the reason for generating this event

Data type

keyword

Example value

SuccessfulCreate

27.9.5. kubernetes.event.source_component

The component that reported this event

Data type

keyword

Example value

replication-controller

27.9.6. kubernetes.event.firstTimestamp

The time at which the event was first recorded

Data type

date

Example value

2017-08-07 10:11:57.000000000 Z

27.9.7. kubernetes.event.count

The number of times this event has occurred

Data type

integer

Example value

1

27.9.8. kubernetes.event.type

The type of event, Normal or Warning. New types could be added in the future.

Data type

keyword

Example value

Normal