-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Special values for network.host: bogus documentation, confusing error messages #65978
Comments
It's tricky to think how else to represent this option in the docs; if we just said
In your case your interface is called |
Pinging @elastic/es-distributed (Team:Distributed) |
Pinging @elastic/es-docs (Team:Docs) |
Hmmm, but I do not see any |
Today we document the use of `_[networkInterface]_` to specify the addresses of a network interface but do not spell out which parts of this syntax should be taken literally and which are part of the placeholder for the interface name. If you get it wrong then the exception message is confusing too since it uses the results of `NetworkInterface#toString()` which contains much more than just the name of the interface. This commit clarifies the docs and the exception message. Closes elastic#65978.
Today we document the use of `_[networkInterface]_` to specify the addresses of a network interface but do not spell out which parts of this syntax should be taken literally and which are part of the placeholder for the interface name. If you get it wrong then the exception message is confusing too since it uses the results of `NetworkInterface#toString()` which contains much more than just the name of the interface. This commit clarifies the docs and the exception message. Closes #65978.
Today we document the use of `_[networkInterface]_` to specify the addresses of a network interface but do not spell out which parts of this syntax should be taken literally and which are part of the placeholder for the interface name. If you get it wrong then the exception message is confusing too since it uses the results of `NetworkInterface#toString()` which contains much more than just the name of the interface. This commit clarifies the docs and the exception message. Closes #65978.
Today we document the use of `_[networkInterface]_` to specify the addresses of a network interface but do not spell out which parts of this syntax should be taken literally and which are part of the placeholder for the interface name. This commit clarifies the docs. NB this is a backport of just the docs changes from #66013. Closes #65978.
The (documentation)[https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html#network-interface-values] is really confusing wrt.
_[networkInterface]_
. If e.g.one uses
network.publish_host: _[ hellas1 ]_
one gets strange error messages likeAnd now the casual user wonders: What the heck do they expect wrt. NIC name[s] for the
network.publish_host
argument?_[ name:hellas1 (hellas1) ]_
?The text was updated successfully, but these errors were encountered: