Skip to content

Commit

Permalink
Update Kubernetes Autodiscover docs with the new resources (#15055)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrsMark authored Dec 16, 2019
1 parent 83b309d commit f5bb919
Showing 1 changed file with 20 additions and 2 deletions.
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

0 comments on commit f5bb919

Please sign in to comment.