-
Notifications
You must be signed in to change notification settings - Fork 46
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
Feat: check target is set in ECS mode #49
Conversation
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.
A lot of really helpful clean-up along side this one 👍🏼
I've left a comment about the place for validation. I'd prefer we not need unit tests like these for every plugin that uses the ECS compatibility support's TargetCheck
, especially because it is easy to create fragile specs that fail when changes are made upstream in Logstash core or in the ECS support gem. In a way we are "infecting" this gem with unit specs describing the inner workings of components that are outside of this plugin's control or concern.
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 👍🏼
if
target =>
option is not present in ECS mode we log a warning (at info level).also includes some (debug) logging improvements that I managed to bump into ...