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

Add ECS host fields to system package log data streams #313

Merged
merged 1 commit into from
Oct 19, 2020
Merged
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
59 changes: 59 additions & 0 deletions packages/system/data_stream/auth/fields/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,62 @@
type: text
norms: false
default_field: false
- description: "Operating system architecture."
ignore_above: 1024
name: host.architecture
type: keyword
- description: "Name of the directory the group is a member of."
ignore_above: 1024
name: host.domain
type: keyword
- description: "Hostname of the host."
ignore_above: 1024
name: host.hostname
type: keyword
- description: "Unique host id."
ignore_above: 1024
name: host.id
type: keyword
- description: "Host ip addresses."
name: host.ip
type: ip
- description: "Host mac addresses."
ignore_above: 1024
name: host.mac
type: keyword
- description: "Name of the host."
ignore_above: 1024
name: host.name
type: keyword
- description: "OS family (such as redhat, debian, freebsd, windows)."
ignore_above: 1024
name: host.os.family
type: keyword
- description: "Operating system name, including the version or code name."
ignore_above: 1024
multi_fields:
- name: text
norms: false
type: text
name: host.os.full
type: keyword
- description: "Operating system kernel version as a raw string."
ignore_above: 1024
name: host.os.kernel
type: keyword
- description: "Operating system name, without the version."
ignore_above: 1024
multi_fields:
- name: text
norms: false
type: text
name: host.os.name
type: keyword
- description: "Operating system platform (such centos, ubuntu, windows)."
ignore_above: 1024
name: host.os.platform
type: keyword
- description: "Operating system version as a raw string."
ignore_above: 1024
name: version
type: keyword
71 changes: 59 additions & 12 deletions packages/system/data_stream/syslog/fields/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,6 @@
For log events the message field contains the log message, optimized for viewing in a log viewer.
For structured logs without an original message field, other fields can be concatenated to form a human-readable summary of the event.
If multiple messages exist, they can be combined into one message.
- name: host
title: Host
group: 2
type: group
fields:
- name: hostname
level: core
type: keyword
description: |-
Hostname of the host.
It normally contains what the `hostname` command returns on the host machine.
ignore_above: 1024
- name: process
title: Process
group: 2
Expand All @@ -48,3 +36,62 @@
type: long
format: string
description: Process id.
- description: "Operating system architecture."
ignore_above: 1024
name: host.architecture
type: keyword
- description: "Name of the directory the group is a member of."
ignore_above: 1024
name: host.domain
type: keyword
- description: "Hostname of the host."
ignore_above: 1024
name: host.hostname
type: keyword
- description: "Unique host id."
ignore_above: 1024
name: host.id
type: keyword
- description: "Host ip addresses."
name: host.ip
type: ip
- description: "Host mac addresses."
ignore_above: 1024
name: host.mac
type: keyword
- description: "Name of the host."
ignore_above: 1024
name: host.name
type: keyword
- description: "OS family (such as redhat, debian, freebsd, windows)."
ignore_above: 1024
name: host.os.family
type: keyword
- description: "Operating system name, including the version or code name."
ignore_above: 1024
multi_fields:
- name: text
norms: false
type: text
name: host.os.full
type: keyword
- description: "Operating system kernel version as a raw string."
ignore_above: 1024
name: host.os.kernel
type: keyword
- description: "Operating system name, without the version."
ignore_above: 1024
multi_fields:
- name: text
norms: false
type: text
name: host.os.name
type: keyword
- description: "Operating system platform (such centos, ubuntu, windows)."
ignore_above: 1024
name: host.os.platform
type: keyword
- description: "Operating system version as a raw string."
ignore_above: 1024
name: version
type: keyword
2 changes: 1 addition & 1 deletion packages/system/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: system
title: System
version: 0.8.0
version: 0.8.1
license: basic
description: System Integration
type: integration
Expand Down