-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add datastream fields to all datasets (#213)
It is planned to move from dataset.* to datastream.*. To make the path easier to 7.9 Elasticsearch (elastic/elasticsearch#60592) and the Elastic Agent already ship with the datastream.* fields. Because of this, these should also be added to the mappings of the packages. The agent will ship datastream.* fields. Because of this, the import scripts can be adjusted to only use these fields. This PR doese not rename any Golang variables. This should be done in a follow up and in sync with potential changes to the registry.
- Loading branch information
Showing
163 changed files
with
2,010 additions
and
623 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
- name: datastream.type | ||
type: constant_keyword | ||
description: Datastream type. | ||
- name: datastream.dataset | ||
type: constant_keyword | ||
description: Datastream dataset. | ||
- name: datastream.namespace | ||
type: constant_keyword | ||
description: Datastream namespace. | ||
|
||
- name: dataset.type | ||
type: constant_keyword | ||
description: > | ||
Dataset type. | ||
description: Dataset type. | ||
- name: dataset.name | ||
type: constant_keyword | ||
description: > | ||
Dataset name. | ||
description: Dataset name. | ||
- name: dataset.namespace | ||
type: constant_keyword | ||
description: > | ||
Dataset namespace. | ||
- name: "@timestamp" | ||
description: Dataset namespace. | ||
- name: '@timestamp' | ||
type: date | ||
description: > | ||
Event timestamp. | ||
description: Event timestamp. | ||
|
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 |
---|---|---|
@@ -1,16 +1,22 @@ | ||
- name: datastream.type | ||
type: constant_keyword | ||
description: Datastream type. | ||
- name: datastream.dataset | ||
type: constant_keyword | ||
description: Datastream dataset. | ||
- name: datastream.namespace | ||
type: constant_keyword | ||
description: Datastream namespace. | ||
|
||
- name: dataset.type | ||
type: constant_keyword | ||
description: > | ||
Dataset type. | ||
description: Dataset type. | ||
- name: dataset.name | ||
type: constant_keyword | ||
description: > | ||
Dataset name. | ||
description: Dataset name. | ||
- name: dataset.namespace | ||
type: constant_keyword | ||
description: > | ||
Dataset namespace. | ||
- name: "@timestamp" | ||
description: Dataset namespace. | ||
- name: '@timestamp' | ||
type: date | ||
description: > | ||
Event timestamp. | ||
description: Event timestamp. |
24 changes: 15 additions & 9 deletions
24
packages/aws/dataset/cloudwatch_logs/fields/base-fields.yml
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 |
---|---|---|
@@ -1,16 +1,22 @@ | ||
- name: datastream.type | ||
type: constant_keyword | ||
description: Datastream type. | ||
- name: datastream.dataset | ||
type: constant_keyword | ||
description: Datastream dataset. | ||
- name: datastream.namespace | ||
type: constant_keyword | ||
description: Datastream namespace. | ||
|
||
- name: dataset.type | ||
type: constant_keyword | ||
description: > | ||
Dataset type. | ||
description: Dataset type. | ||
- name: dataset.name | ||
type: constant_keyword | ||
description: > | ||
Dataset name. | ||
description: Dataset name. | ||
- name: dataset.namespace | ||
type: constant_keyword | ||
description: > | ||
Dataset namespace. | ||
- name: "@timestamp" | ||
description: Dataset namespace. | ||
- name: '@timestamp' | ||
type: date | ||
description: > | ||
Event timestamp. | ||
description: Event timestamp. |
24 changes: 15 additions & 9 deletions
24
packages/aws/dataset/cloudwatch_metrics/fields/base-fields.yml
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 |
---|---|---|
@@ -1,16 +1,22 @@ | ||
- name: datastream.type | ||
type: constant_keyword | ||
description: Datastream type. | ||
- name: datastream.dataset | ||
type: constant_keyword | ||
description: Datastream dataset. | ||
- name: datastream.namespace | ||
type: constant_keyword | ||
description: Datastream namespace. | ||
|
||
- name: dataset.type | ||
type: constant_keyword | ||
description: > | ||
Dataset type. | ||
description: Dataset type. | ||
- name: dataset.name | ||
type: constant_keyword | ||
description: > | ||
Dataset name. | ||
description: Dataset name. | ||
- name: dataset.namespace | ||
type: constant_keyword | ||
description: > | ||
Dataset namespace. | ||
- name: "@timestamp" | ||
description: Dataset namespace. | ||
- name: '@timestamp' | ||
type: date | ||
description: > | ||
Event timestamp. | ||
description: Event timestamp. |
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 |
---|---|---|
@@ -1,16 +1,22 @@ | ||
- name: datastream.type | ||
type: constant_keyword | ||
description: Datastream type. | ||
- name: datastream.dataset | ||
type: constant_keyword | ||
description: Datastream dataset. | ||
- name: datastream.namespace | ||
type: constant_keyword | ||
description: Datastream namespace. | ||
|
||
- name: dataset.type | ||
type: constant_keyword | ||
description: > | ||
Dataset type. | ||
description: Dataset type. | ||
- name: dataset.name | ||
type: constant_keyword | ||
description: > | ||
Dataset name. | ||
description: Dataset name. | ||
- name: dataset.namespace | ||
type: constant_keyword | ||
description: > | ||
Dataset namespace. | ||
- name: "@timestamp" | ||
description: Dataset namespace. | ||
- name: '@timestamp' | ||
type: date | ||
description: > | ||
Event timestamp. | ||
description: Event timestamp. |
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 |
---|---|---|
@@ -1,16 +1,22 @@ | ||
- name: datastream.type | ||
type: constant_keyword | ||
description: Datastream type. | ||
- name: datastream.dataset | ||
type: constant_keyword | ||
description: Datastream dataset. | ||
- name: datastream.namespace | ||
type: constant_keyword | ||
description: Datastream namespace. | ||
|
||
- name: dataset.type | ||
type: constant_keyword | ||
description: > | ||
Dataset type. | ||
description: Dataset type. | ||
- name: dataset.name | ||
type: constant_keyword | ||
description: > | ||
Dataset name. | ||
description: Dataset name. | ||
- name: dataset.namespace | ||
type: constant_keyword | ||
description: > | ||
Dataset namespace. | ||
- name: "@timestamp" | ||
description: Dataset namespace. | ||
- name: '@timestamp' | ||
type: date | ||
description: > | ||
Event timestamp. | ||
description: Event timestamp. |
Oops, something went wrong.