-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Feature request] Create a client method to check remote availability in Workplace search #249
Comments
Thanks @picandocodigo, the EnterpriseSearch output return a rich information, could be useful but return a lot of context. |
FYI - taking a quick glance at this issue... off the top of my head, I'm not sure why the |
@markjhoy thanks for looking into this!
The original implementation was provided by @davishmcclurg so maybe has good insights for this. It uses the |
@andsel - David no longer works for Elastic, however, I do see that that last PR was dated in May of last year - so, it's quite possible that a lot has changed since then (and IIRC, the content source endpoint didn't exist when this was written)... but - regardless - I would think the Content Source GET endpoint linked above should provide a feasible workaround. |
For the 8.x that API could be really helpful! Thanks for pointing it :-) |
In Logstash's Enterprise Search plugin, for the Workplace output we use a method to check the connections to the remote:
https://github.com/logstash-plugins/logstash-integration-elastic_enterprise_search/blob/8ff2f8fc982f8036772430c670d1717895333a97/lib/logstash/outputs/elastic_workplace_search.rb#L103-L105
With version
8.0
of Workplace search the underlying http endpoint has been removed, made some test to fail as described in logstash-plugins/logstash-integration-elastic_enterprise_search#14.The solution could be to use other methods, that implicitly prove the connectivity.
The Workplace client should provide an explicit API to check the connectivity, so that's future proof.
Elasticserach Ruby client provide a similar feature, as reference: https://www.rubydoc.info/gems/elasticsearch-api/Elasticsearch/API/Actions#ping-instance_method
The text was updated successfully, but these errors were encountered: