Skip to content
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
5 changes: 5 additions & 0 deletions packages/elastic_agent/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.3.3"
changes:
- description: Add configuration for cloudbeat logs and metrics.
type: enhancement
link: https://github.com/elastic/integrations/pull/3378
- version: "1.3.2"
changes:
- description: Fix some CPU elastic_agent_metrics mapping from date to long
Expand Down
141 changes: 141 additions & 0 deletions packages/elastic_agent/data_stream/cloudbeat_logs/fields/agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
- name: cloud
title: Cloud
group: 2
description: Fields related to the cloud or infrastructure the events are coming from.
footnote: "Examples: If Metricbeat is running on an EC2 host and fetches data from its host, the cloud info contains the data about this machine. If Metricbeat runs on a remote machine outside the cloud and fetches data from a service running in the cloud, the field contains cloud data from the machine the service is running on."
type: group
fields:
- name: account.id
type: keyword
ignore_above: 1024
description: "The cloud account or organization id used to identify different entities in a multi-tenant environment.\nExamples: AWS account id, Google Cloud ORG Id, or other unique identifier."
- name: availability_zone
type: keyword
ignore_above: 1024
description: Availability zone in which this host is running.
- name: instance.id
type: keyword
ignore_above: 1024
description: Instance ID of the host machine.
- name: instance.name
type: keyword
ignore_above: 1024
description: Instance name of the host machine.
- name: machine.type
type: keyword
ignore_above: 1024
description: Machine type of the host machine.
- name: provider
type: keyword
ignore_above: 1024
description: Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean.
- name: region
type: keyword
ignore_above: 1024
description: Region in which this host is running.
- name: project.id
type: keyword
description: Name of the project in Google Cloud.
- name: image.id
type: keyword
description: Image ID for the cloud instance.
- name: container
title: Container
group: 2
description: "Container fields are used for meta information about the specific container that is the source of information.\nThese fields help correlate data based containers from any runtime."
type: group
fields:
- name: id
type: keyword
ignore_above: 1024
description: Unique container id.
- name: image.name
type: keyword
ignore_above: 1024
description: Name of the image the container was built on.
- name: labels
type: object
object_type: keyword
description: Image labels.
- name: name
type: keyword
ignore_above: 1024
description: Container name.
- name: host
title: Host
group: 2
description: "A host is defined as a general computing instance.\nECS host.* fields should be populated with details about the host on which the event happened, or from which the measurement was taken. Host types include hardware, virtual machines, Docker containers, and Kubernetes nodes."
type: group
fields:
- name: architecture
type: keyword
ignore_above: 1024
description: Operating system architecture.
- name: domain
type: keyword
ignore_above: 1024
description: "Name of the domain of which the host is a member.\nFor example, on Windows this could be the host's Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host's LDAP provider."
default_field: false
- name: hostname
type: keyword
ignore_above: 1024
description: "Hostname of the host.\nIt normally contains what the `hostname` command returns on the host machine."
- name: id
type: keyword
ignore_above: 1024
description: "Unique host id.\nAs hostname is not always unique, use values that are meaningful in your environment.\nExample: The current usage of `beat.name`."
- name: ip
type: ip
description: Host ip addresses.
- name: mac
type: keyword
ignore_above: 1024
description: Host mac addresses.
- name: name
type: keyword
ignore_above: 1024
description: "Name of the host.\nIt 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."
- name: os.family
type: keyword
ignore_above: 1024
description: OS family (such as redhat, debian, freebsd, windows).
- name: os.kernel
type: keyword
ignore_above: 1024
description: Operating system kernel version as a raw string.
- name: os.name
type: keyword
ignore_above: 1024
multi_fields:
- name: text
type: text
norms: false
default_field: false
description: Operating system name, without the version.
- name: os.platform
type: keyword
ignore_above: 1024
description: Operating system platform (such centos, ubuntu, windows).
- name: os.version
type: keyword
ignore_above: 1024
description: Operating system version as a raw string.
- name: type
type: keyword
ignore_above: 1024
description: "Type of host.\nFor 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."
- name: containerized
type: boolean
description: >
If the host is a container.

- name: os.build
type: keyword
description: >
OS build information.

- name: os.codename
type: keyword
description: >
OS codename, if any.

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- name: data_stream.type
type: constant_keyword
description: Data stream type.
- name: data_stream.dataset
type: constant_keyword
description: Data stream dataset.
- name: data_stream.namespace
type: constant_keyword
description: Data stream namespace.
- name: "@timestamp"
type: date
description: Event timestamp.
- name: event.dataset
type: constant_keyword
description: Event dataset
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- external: ecs
name: ecs.version
- external: ecs
name: log.level
- external: ecs
name: message
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- name: elastic_agent
title: Elastic Agent
description: Fields related to the Elastic Agents
type: group
fields:
- name: id
type: keyword
ignore_above: 1024
description: Elastic Agent id.
- name: process
type: keyword
ignore_above: 1024
description: Process run by the Elastic Agent.
- name: snapshot
type: boolean
description: Is the agent running from a snapshot build
- name: version
type: keyword
ignore_above: 1024
description: Elastic agent version.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: Elastic Agent
dataset: elastic_agent.cloudbeat
type: logs
elasticsearch:
index_template:
mappings:
dynamic: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
- name: cloud
title: Cloud
group: 2
description: Fields related to the cloud or infrastructure the events are coming from.
footnote: "Examples: If Metricbeat is running on an EC2 host and fetches data from its host, the cloud info contains the data about this machine. If Metricbeat runs on a remote machine outside the cloud and fetches data from a service running in the cloud, the field contains cloud data from the machine the service is running on."
type: group
fields:
- name: account.id
type: keyword
ignore_above: 1024
description: "The cloud account or organization id used to identify different entities in a multi-tenant environment.\nExamples: AWS account id, Google Cloud ORG Id, or other unique identifier."
- name: availability_zone
type: keyword
ignore_above: 1024
description: Availability zone in which this host is running.
- name: instance.id
type: keyword
ignore_above: 1024
description: Instance ID of the host machine.
- name: instance.name
type: keyword
ignore_above: 1024
description: Instance name of the host machine.
- name: machine.type
type: keyword
ignore_above: 1024
description: Machine type of the host machine.
- name: provider
type: keyword
ignore_above: 1024
description: Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean.
- name: region
type: keyword
ignore_above: 1024
description: Region in which this host is running.
- name: project.id
type: keyword
description: Name of the project in Google Cloud.
- name: image.id
type: keyword
description: Image ID for the cloud instance.
- name: container
title: Container
group: 2
description: "Container fields are used for meta information about the specific container that is the source of information.\nThese fields help correlate data based containers from any runtime."
type: group
fields:
- name: id
type: keyword
ignore_above: 1024
description: Unique container id.
- name: image.name
type: keyword
ignore_above: 1024
description: Name of the image the container was built on.
- name: labels
type: object
object_type: keyword
description: Image labels.
- name: name
type: keyword
ignore_above: 1024
description: Container name.
- name: host
title: Host
group: 2
description: "A host is defined as a general computing instance.\nECS host.* fields should be populated with details about the host on which the event happened, or from which the measurement was taken. Host types include hardware, virtual machines, Docker containers, and Kubernetes nodes."
type: group
fields:
- name: architecture
type: keyword
ignore_above: 1024
description: Operating system architecture.
- name: domain
type: keyword
ignore_above: 1024
description: "Name of the domain of which the host is a member.\nFor example, on Windows this could be the host's Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host's LDAP provider."
default_field: false
- name: hostname
type: keyword
ignore_above: 1024
description: "Hostname of the host.\nIt normally contains what the `hostname` command returns on the host machine."
- name: id
type: keyword
ignore_above: 1024
description: "Unique host id.\nAs hostname is not always unique, use values that are meaningful in your environment.\nExample: The current usage of `beat.name`."
- name: ip
type: ip
description: Host ip addresses.
- name: mac
type: keyword
ignore_above: 1024
description: Host mac addresses.
- name: name
type: keyword
ignore_above: 1024
description: "Name of the host.\nIt 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."
- name: os.family
type: keyword
ignore_above: 1024
description: OS family (such as redhat, debian, freebsd, windows).
- name: os.kernel
type: keyword
ignore_above: 1024
description: Operating system kernel version as a raw string.
- name: os.name
type: keyword
ignore_above: 1024
multi_fields:
- name: text
type: text
norms: false
default_field: false
description: Operating system name, without the version.
- name: os.platform
type: keyword
ignore_above: 1024
description: Operating system platform (such centos, ubuntu, windows).
- name: os.version
type: keyword
ignore_above: 1024
description: Operating system version as a raw string.
- name: type
type: keyword
ignore_above: 1024
description: "Type of host.\nFor 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."
- name: containerized
type: boolean
description: >
If the host is a container.

- name: os.build
type: keyword
description: >
OS build information.

- name: os.codename
type: keyword
description: >
OS codename, if any.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- name: data_stream.type
type: constant_keyword
description: Data stream type.
- name: data_stream.dataset
type: constant_keyword
description: Data stream dataset.
- name: data_stream.namespace
type: constant_keyword
description: Data stream namespace.
- name: "@timestamp"
type: date
description: Event timestamp.
Loading