-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Kubernetes processor enhancements #4068
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
- key: kubernetes | ||
title: Kubernetes info | ||
description: > | ||
Kubernetes metadata added by the kubernetes processor | ||
fields: | ||
- name: kubernetes.pod.name | ||
type: keyword | ||
description: > | ||
Kubernetes pod name | ||
|
||
- name: kubernetes.namespace | ||
type: keyword | ||
description: > | ||
Kubernetes namespace | ||
|
||
- name: kubernetes.labels | ||
type: object | ||
description: > | ||
Kubernetes labels map | ||
|
||
- name: kubernetes.annotations | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This shoud be singular. Reason if someone is going to "read it" it will be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've been reading https://www.elastic.co/guide/en/beats/libbeat/5.3/event-conventions.html and also saw how we do it in docker module: https://github.com/elastic/beats/blob/master/metricbeat/module/docker/container/_meta/data.json#L13 It sounds more natural to me to have labels as plural. It's like you are naturally selecting a label by name from the labels dict, what do you think? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. labels sounds better to me too, but I am fine also with singular. |
||
type: object | ||
description: > | ||
Kubernetes annotations map | ||
|
||
- name: kubernetes.container.name | ||
type: keyword | ||
description: > | ||
Kubernetes container name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be singular