Skip to content

Conversation

@yaauie
Copy link
Contributor

@yaauie yaauie commented Dec 16, 2020

This PR does several things to facilitate ease-of-use with Logstash's ECS Compatibility mode

  • introduces an optional target option, allowing users to configure where on the event a records fields should be placed. This option is validated using the Validator Support Mixin's :field_reference adapter.
  • ensures ecs_compatibility option is present via the ECS Compatibility Support Mixin, and warns when the plugin is started in an ECS Compatibility mode without specifying a target.
  • patches streaming filter to use Validator Support Mixin's :field_reference adapter when validating its pre-existing target option, causing incorrect configuration to be rejected at startup instead of plugin crashes at runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants