-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a843f56
commit f4ad774
Showing
5 changed files
with
135 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
# The ECS migration file contains the information about all the fields which are migrated to ECS in 7.0. | ||
# The goal of the file is to potentially have scripts on top of this information to convert visualisations and templates | ||
# based on this information in an automated way and to keep track of all changes which were applied. | ||
# | ||
# The format of the file is as following: | ||
# | ||
# - from: source-field-in-6.x | ||
# to: target-filed-in-ECS | ||
# # Alias field is useful for fields where there is a 1-1 mapping from old to new | ||
# alias: true-if-alias-is-required-in-6x (default is true) | ||
# # Copy to is useful for fields where multiple fields map to the same ECS field | ||
# copy_to: true-if-field-should-be-copied-to-target-in-6x (default is false) | ||
|
||
- from: context.service.agent.name | ||
to: agent.name | ||
|
||
- from: context.service.agent.version | ||
to: agent.version | ||
|
||
- from: context.system.architecture | ||
to: host.architecture | ||
|
||
- from: context.system.ip | ||
to: host.ip | ||
|
||
- from: context.system.hostname | ||
to: host.name | ||
|
||
- from: context.system.platform | ||
to: host.os.platform | ||
|
||
- from: context.request.method | ||
to: http.method | ||
|
||
- from: context.request.http_version | ||
to: http.version | ||
|
||
- from: context.tags | ||
to: labels | ||
alias: false | ||
copy_to: true | ||
|
||
- from: context.process.pid | ||
to: process.pid | ||
|
||
- from: context.process.ppid | ||
to: process.ppid | ||
|
||
- from: context.process.title | ||
to: process.title | ||
|
||
# not in ECS | ||
- from: context.service.environment | ||
to: service.environment | ||
|
||
# not in ECS | ||
- from: context.service.framework.name | ||
to: service.framework.name | ||
|
||
# not in ECS | ||
- from: context.service.framework.version | ||
to: service.framework.version | ||
|
||
# not in ECS | ||
- from: context.service.language.name | ||
to: service.language.name | ||
|
||
# not in ECS | ||
- from: context.service.language.version | ||
to: service.language.version | ||
|
||
- from: context.service.name | ||
to: service.name | ||
|
||
# not in ECS | ||
- from: context.service.runtime.name | ||
to: service.runtime.name | ||
|
||
# not in ECS | ||
- from: context.service.runtime.version | ||
to: service.runtime.version | ||
|
||
- from: context.request.url.full | ||
to: url.original | ||
|
||
- from: context.request.url.hash | ||
to: url.fragment | ||
|
||
- from: context.request.url.hostname | ||
to: url.domain | ||
|
||
- from: context.request.url.pathname | ||
to: url.path | ||
|
||
- from: context.request.url.port | ||
to: url.port | ||
alias: false | ||
copy_to: true | ||
|
||
- from: context.request.url.search | ||
to: url.query | ||
|
||
- from: context.request.url.protocol | ||
to: url.scheme | ||
alias: false | ||
copy_to: true | ||
|
||
- from: context.user.email | ||
to: user.email | ||
|
||
- from: context.user.id | ||
to: user.id | ||
|
||
- from: context.user.username | ||
to: user.name |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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