Labeling elastic nodes by API?

Hi, can the following attribute be set by API with 5.6.x?

node.attr.box_type

Or only through the elastisearch.yml config?

It has to be done via the config file.

Thank. Can it be done by ENV variable?

Environment variables can be referenced in the config.
See https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html#_environment_variable_substitution for details and an example

Sorry for confusion. Can it be configured by ENV variable not referenced. I.e: Can node.attr.box_type be set as from ENV variable like some others?

And by that I mean NODE_ATTR_BOX_TYPE

Also if I'm not mistaken it seems that we can pass values to for these configs directly as environment variables. At least it seems so reading the docker docs of Elasticsearch.

Btw is there a central doc that describes all the config attributes and if they can be configured by file, environment variable, if they are transient or persistent. So far it's scatered through out the docs...

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.