-
Notifications
You must be signed in to change notification settings - Fork 418
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
Remove two top level objects: kubernetes and tls. #132
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
7fefc69
Remove two top level objects: kubernetes and tls.
b899a49
Add kubernetes use case
be90aab
Add TLS use case
d44094b
Use a Docker short ID in the example, to keep table width reasonable
8404981
Look at that, field types get pulled automatically too.
007c8a5
update the changelog
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## Kubernetes use case | ||
|
||
You can monitor containers running in a Kubernetes cluster by adding Kubernetes-specific information under `kubernetes.` | ||
|
||
|
||
### <a name="kubernetes"></a> Kubernetes fields | ||
|
||
|
||
| Field | Description | Type | Multi Field | Example | | ||
|---|---|---|---|---| | ||
| [container.id](https://github.com/elastic/ecs#container.id) | Unique container id. | keyword | | `fdbef803fa2b` | | ||
| [container.name](https://github.com/elastic/ecs#container.name) | Container name. | keyword | | | | ||
| [host.name](https://github.com/elastic/ecs#host.name) | host.name is the hostname of the host.<br/>It can contain what `hostname` returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use. | keyword | | `kube-high-cpu-42` | | ||
| <a name="kubernetes.pod.name"></a>*kubernetes.pod.name* | *Kubernetes pod name* | keyword | | `foo-webserver` | | ||
| <a name="kubernetes.namespace"></a>*kubernetes.namespace* | *Kubernetes namespace* | keyword | | `foo-team` | | ||
| <a name="kubernetes.labels"></a>*kubernetes.labels* | *Kubernetes labels map* | object | | | | ||
| <a name="kubernetes.annotations"></a>*kubernetes.annotations* | *Kubernetes annotations map* | object | | | | ||
| <a name="kubernetes.container.name"></a>*kubernetes.container.name* | *Kubernetes container name. This name is unique within the pod only. It is different from the `container.name` field.* | keyword | | | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: kubernetes | ||
title: Kubernetes | ||
description: > | ||
You can monitor containers running in a Kubernetes cluster by adding | ||
Kubernetes-specific information under `kubernetes.` | ||
|
||
fields: | ||
- name: container | ||
fields: | ||
|
||
- name: id | ||
example: fdbef803fa2b | ||
|
||
- name: name | ||
|
||
- name: host | ||
fields: | ||
|
||
- name: name | ||
example: kube-high-cpu-42 | ||
|
||
- name: kubernetes | ||
fields: | ||
|
||
- name: pod.name | ||
type: keyword | ||
description: > | ||
Kubernetes pod name | ||
example: foo-webserver | ||
|
||
- name: namespace | ||
type: keyword | ||
description: > | ||
Kubernetes namespace | ||
example: foo-team | ||
|
||
- name: labels | ||
type: object | ||
description: > | ||
Kubernetes labels map | ||
|
||
- name: annotations | ||
type: object | ||
description: > | ||
Kubernetes annotations map | ||
|
||
- name: container.name | ||
type: keyword | ||
description: > | ||
Kubernetes container name. This name is unique within the pod only. | ||
It is different from the `container.name` field. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## TLS use case | ||
|
||
You can store TLS-related metadata under `tls.`, when appropriate. | ||
|
||
|
||
### <a name="tls"></a> TLS fields | ||
|
||
|
||
| Field | Description | Type | Multi Field | Example | | ||
|---|---|---|---|---| | ||
| [source.ip](https://github.com/elastic/ecs#source.ip) | IP address of the source.<br/>Can be one or multiple IPv4 or IPv6 addresses. | ip | | `10.1.1.10` | | ||
| [destination.ip](https://github.com/elastic/ecs#destination.ip) | IP address of the destination.<br/>Can be one or multiple IPv4 or IPv6 addresses. | ip | | `5.5.5.5` | | ||
| [destination.port](https://github.com/elastic/ecs#destination.port) | Port of the destination. | long | | `443` | | ||
| <a name="tls.version"></a>*tls.version* | *TLS version.* | keyword | | `TLSv1.2` | | ||
| <a name="tls.certificates"></a>*tls.certificates* | *An array of certificates.* | keyword | | | | ||
| <a name="tls.servername"></a>*tls.servername* | *Server name requested by the client.* | keyword | | `localhost` | | ||
| <a name="tls.ciphersuite"></a>*tls.ciphersuite* | *Name of the cipher used for the communication.* | keyword | | `ECDHE-ECDSA-AES-128-CBC-SHA` | | ||
|
||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@adriansr This might have an effect on the ecs.yml we use in Beats.