-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Elasticsearch 6 lost some attribute/tags in _nodes api #4493
Comments
related: #3630 |
Which attribute/tags are lost? I compares ES 5 and ES 6, but they seem both similar. For the master vs data nodes: I'll get this merged asap. |
@bbfoto have you tried again with a nightly build since #6064 was merged? |
will give it a try. |
@bbfoto has this problem been fixed? please closed if so or provide what error you are still receiving. |
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you! |
We just noticed in our automated es dashboards, that our shiny new es6 cluster doesn't distinguish between data and master nodes.
traced it down to I suspect a breaking change on es side that affects the way es telegraf plugin is tagging metrics...
in line 30,
Attributes map[string]string
json:"attributes"`` seems to not work anymore.I feel this kind of has a vague reference to it.
https://www.elastic.co/guide/en/elasticsearch/reference/5.5/breaking_50_settings_changes.html#_node_attribute_settings
Looking at es 1.x results vs 6.x results, I think the solution might be to instead of using
Attributes map[string]string
json:"attributes"
to attributes or roles depending on es version...
in the es6 _nodes result I have the following for a master
and the following for a datanodes
there is no attributes{} section in my es6 _nodes result.
maybe also of interest. I find in both es1.x and es6.x clusters I do have the following subset of settings.cluster
I think either node or roles would work for the original intent of attributes.
The text was updated successfully, but these errors were encountered: