Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions libbeat/docs/shared-autodiscover.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -116,21 +116,39 @@ endif::[]
[float]
===== Kubernetes

The Kubernetes autodiscover provider watches for Kubernetes pods to start, update, and stop.
The Kubernetes autodiscover provider watches for Kubernetes nodes, pods, services to start, update, and stop.

These are the available fields during within config templating. The `kubernetes.*` fields will be available on each emitted event.

[float]
====== Generic fields:
* host
* port (if exposed)
* kubernetes.labels
* kubernetes.annotations

[float]
====== Pod specific:
* kubernetes.container.id
* kubernetes.container.image
* kubernetes.container.name
* kubernetes.labels
* kubernetes.namespace
* kubernetes.node.name
* kubernetes.pod.name
* kubernetes.pod.uid

[float]
====== Node specific:
* kubernetes.node.name
* kubernetes.node.uid

[float]
====== Service specific:
* kubernetes.namespace
* kubernetes.service.name
* kubernetes.service.uid
* kubernetes.annotations

If the `include_annotations` config is added to the provider config, then the list of annotations present in the config
are added to the event.

Expand Down