Skip to content
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

Reduce severity of logged warning about document _type #1073

Open
wallrik opened this issue May 5, 2022 · 0 comments
Open

Reduce severity of logged warning about document _type #1073

wallrik opened this issue May 5, 2022 · 0 comments

Comments

@wallrik
Copy link

wallrik commented May 5, 2022

There's a warning that triggers every time I start Logstash that feels very outdated:

if major >= 6
@logger.warn("Detected a 6.x and above cluster: the `type` event field won't be used to determine the document _type", es_version: major)
end

Is there any chance that line can be changed to debug level for the next version of this plugin? Or, maybe info level and only trigger on major version 6 or 7?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant