Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Kubernetes Autodiscover docs with the new resources #15055

Merged
merged 3 commits into from
Dec 16, 2019
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