-
Notifications
You must be signed in to change notification settings - Fork 418
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove two top level objects: kubernetes and tls (#132)
* Remove two top level objects: kubernetes and tls. * Add kubernetes and TLS use cases
- Loading branch information
Showing
10 changed files
with
118 additions
and
215 deletions.
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.