Skip to content
Closed
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ A host is defined as a general computing instance. ECS host.* fields should be p
| <a name="host.mac"></a>host.mac | Host mac address. | core | keyword | |
| <a name="host.type"></a>host.type | Type of host.<br/>For Cloud providers this can be the machine type like `t2.medium`. If vm, this could be the container, for example, or other information meaningful in your environment. | core | keyword | |
| <a name="host.architecture"></a>host.architecture | Operating system architecture. | core | keyword | `x86_64` |
| <a name="host.containerized"></a>host.containerized | True if the host is running in a containerized environment. | core | keyword | `True` |


## <a name="http"></a> HTTP fields
Expand Down Expand Up @@ -387,6 +388,7 @@ Note also that the `os` fields are not expected to be used directly at the top l
| <a name="os.family"></a>os.family | OS family (such as redhat, debian, freebsd, windows). | extended | keyword | `debian` |
| <a name="os.version"></a>os.version | Operating system version as a raw string. | extended | keyword | `10.14.1` |
| <a name="os.kernel"></a>os.kernel | Operating system kernel version as a raw string. | extended | keyword | `4.4.0-112-generic` |
| <a name="os.codename"></a>os.codename | Operating system codename as a raw string. | extended | keyword | `Longhorn` |


## <a name="process"></a> Process fields
Expand Down
3 changes: 3 additions & 0 deletions code/go/ecs/host.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions code/go/ecs/os.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,13 @@
example: "x86_64"
description: >
Operating system architecture.


- name: containerized
level: core
type: keyword
example: true
description: >
True if the host is running in a containerized environment.
- name: http
title: HTTP
group: 2
Expand Down Expand Up @@ -1220,7 +1226,13 @@
example: "4.4.0-112-generic"
description: >
Operating system kernel version as a raw string.


- name: codename
level: extended
type: keyword
example: "Longhorn"
description: >
Operating system codename as a raw string.
- name: process
title: Process
group: 2
Expand Down
2 changes: 2 additions & 0 deletions schema.csv
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ geo.region_name,keyword,core,Quebec
group.id,keyword,extended,
group.name,keyword,extended,
host.architecture,keyword,core,x86_64
host.containerized,keyword,core,True
host.hostname,keyword,core,
host.id,keyword,core,
host.ip,ip,core,
Expand Down Expand Up @@ -120,6 +121,7 @@ observer.vendor,keyword,core,
observer.version,keyword,core,
organization.id,keyword,extended,
organization.name,keyword,extended,
os.codename,keyword,extended,Longhorn
os.family,keyword,extended,debian
os.full,keyword,extended,Mac OS Mojave
os.kernel,keyword,extended,4.4.0-112-generic
Expand Down
7 changes: 7 additions & 0 deletions schemas/host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,10 @@
example: "x86_64"
description: >
Operating system architecture.

- name: containerized
level: core
type: keyword
example: true
description: >
True if the host is running in a containerized environment.
7 changes: 7 additions & 0 deletions schemas/os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,10 @@
example: "4.4.0-112-generic"
description: >
Operating system kernel version as a raw string.

- name: codename
level: extended
type: keyword
example: "Longhorn"
description: >
Operating system codename as a raw string.
8 changes: 8 additions & 0 deletions template.json
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,10 @@
"ignore_above": 1024,
"type": "keyword"
},
"containerized": {
"ignore_above": 1024,
"type": "keyword"
},
"hostname": {
"ignore_above": 1024,
"type": "keyword"
Expand Down Expand Up @@ -574,6 +578,10 @@
},
"os": {
"properties": {
"codename": {
"ignore_above": 1024,
"type": "keyword"
},
"family": {
"ignore_above": 1024,
"type": "keyword"
Expand Down