for re-use across plugins - unifying the message, usage:
class LogStash::Filters::Json < LogStash::Filters::Base
include LogStash::PluginMixins::ECSCompatibilitySupport
include LogStash::PluginMixins::ECSCompatibilitySupport::TargetCheck
extend LogStash::PluginMixins::ValidatorSupport::FieldReferenceValidationAdapter
config :target, :validate => :field_reference
# ...
def register
check_target_set_in_ecs_mode
# ...
end
end
for re-use across plugins - unifying the message, usage: