-
Notifications
You must be signed in to change notification settings - Fork 307
Implement ECS Compatibility Mode #952
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
Implement ECS Compatibility Mode #952
Conversation
3e99a5a
to
0601fc6
Compare
Remaining test failure is caused by a spec relying the result of a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🐘 🥥 🍶
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made a few minor remarks, mostly around template handling.
One thing that worries me from the user experience side is the consideration that ECS enabled data streams will ship soon, and maybe that should be the default way to push ECS data from logstash.
For other non timeseries/non data streams scenarios it's likely that data won't be ECS formatted.
By consistently using the Output's already-public method, we can eliminate the spec's need to specify behaviour of the method internal client, which it can't reliably intercept in time.
a198b13
to
53251c8
Compare
53251c8
to
cd86989
Compare
docs/index.asciidoc
Outdated
* Default value is `logstash` | ||
* Default value depends on whether <<plugins-{type}s-{plugin}-ecs_compatibility>> is enabled: | ||
** ECS Compatibility disabled: `logstash` | ||
** ECS Compatibility enabled: `ecs-logstash` (ECS Compatibility is enabled) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
** ECS Compatibility enabled: `ecs-logstash` (ECS Compatibility is enabled) | |
** ECS Compatibility enabled: `ecs-logstash` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done! I made a few suggestion inline. Otherwise, LGTM
e2553cd
to
03d6617
Compare
Co-authored-by: Karen Metts <[email protected]>
Implements ECS Compatibility Mode for ECS v1.
ecs-logstash-*
.ecs-
when ECS is enabled.