Open erichs opened 9 years ago
Hi, actually adding support for ElasticSearch was not my idea, and due to my lack of good understanding of ES, the feature has not been systematically tested and I'm not really sure if the current implementation follows the best practice. So if you have any feedback on the part, feel free to let me know.
So anyway, looks like we have three options:
--es
flag, adding another doesn't really feel niceES_CA_PATH
)
Of those options, an ENV var gets my vote!
It would be really great to support the
transport_options
hash parameter for the Elasticsearch::Client initialization, to specify a custom SSL cert forhttps://
urls.See this section of the Elasticsearch README for example usage.
Not sure what your preferred method of passing this configuration data into the
redis-stat
server is, @junegunn.It feels like adding another CLI flag for this option would be clunky, and you don't have any precedent for a config file. What are your thoughts here?
I'd be happy to help with a PR, or could fork if you think this change isn't generally useful.
Thanks for such a great tool!