You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoint package defines many custom fields (not part of ECS, and many are specific to this process, and wouldn't be good candidates for becoming ECS fields), and many of those custom fields are used across 5+ data stream definitions.
The endpoint package currently uses the ecs build tooling to generate our data stream definitions. In order to migrate to use the elastic-package tool for building, those field definitions (field type, description, etc) would need to be repeated in each of our data streams. This would be a prohibitive amount of duplication to maintain.
For pure ecs fields, that duplication is avoided by the external dependency system to import the field.
Using a similar system to define our fields in one place and "import" them via this dependency system would solve that duplication problem.
Proposal
The dependency system is extended to be able to import field definitions from a local folder as another source.
The text was updated successfully, but these errors were encountered:
In such cases, I've tried to have duplicated definitions in files with the same file name and content, so I can automate checks that they they haven't diverged:
One idea I've been thinking about is using symbolic links to refer to field and pipeline definitions that would otherwise be duplicated. Symbolic links work well in Git, and on OSX and Linux. They are also supported on Windows, with appropriate settings (see explanations of the current support, and the earlier situation).
Problem Statement
The
endpoint
package defines many custom fields (not part of ECS, and many are specific to this process, and wouldn't be good candidates for becoming ECS fields), and many of those custom fields are used across 5+ data stream definitions.The endpoint package currently uses the ecs build tooling to generate our data stream definitions. In order to migrate to use the
elastic-package
tool for building, those field definitions (field type, description, etc) would need to be repeated in each of our data streams. This would be a prohibitive amount of duplication to maintain.For pure ecs fields, that duplication is avoided by the external dependency system to import the field.
Using a similar system to define our fields in one place and "import" them via this dependency system would solve that duplication problem.
Proposal
The dependency system is extended to be able to import field definitions from a local folder as another source.
The text was updated successfully, but these errors were encountered: