-
Notifications
You must be signed in to change notification settings - Fork 306
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
Dealing with proposed http.enabled changes on ES's side #599
Comments
Sounds like we need to update the documentation to indicate that the |
Disabling HTTP on master-eligible nodes is not something I would recommend to begin with, sometimes the cluster is misbehaving and you need to send requests directly to a master. If the master is not enabled for HTTP then it can not receive said requests, this is undesirable. I think instead the sniffing should be enhanced to exclude master nodes if needed. An option for now is to bind HTTP on master-eligible nodes to localhost only, but this has problems too:
|
@jasontedor I agree with your concerns about disabling http. I tried to find some history. Sniffing was added to our http client in 6e95c72 (squashed from #216, 10595f8) added the following text to the existing
Relevant tickets: #240, #216, #150. I was not able to find history behind the decision to recommend I am +1 on removing the |
+1 , the ES clients eg. TransportClient, Python, etc.. already filter out master nodes by default when sniffing is used, so LS can do the same without relying on the http.enabled setting. |
+1 #303 |
@tomsommer I agree. I've created elastic/elasticsearch#24871 to see if we can standardize that across all clients (along with some other stuff) |
Fixed in #694 |
This is to track the outcome of an active ES ticket intended to remove http.enabled from the product.
This will directly affect how we do sniffing today in the LS ES output.
We already have users today using a combination of sniffing and http.enabled: false (as recommended in the LS documentation) on the ES side to influence the ES output so that it doesn't send the events to the master nodes or other specific nodes of interest (eg. warm nodes).
If ES removes the ability to disable http, it will be breaking for LS ES output's sniffing feature.
The text was updated successfully, but these errors were encountered: