-
Notifications
You must be signed in to change notification settings - Fork 115
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
Simpler configuration #31
Comments
Yes, that is nice feedback; Most of it makes sense lots of sense. Just one question: Could you expand on why you think verify_ssl is not needed ? Aside from that the rest of the feedback makes sense to me :). Anything that can simplify the API should be included eventually. Changing some of it will potentially break compatibility, but I'm not entirely sure if there is many people using it anyway :). It started with 3 auth modes, now that there are a few more it may have some sense to place that bit into a different object space and perhaps provide builders to help with the auth object creation. Will pick that up next time I have a chance. |
I have been exploring this log handler. I just wanted to check if there are any updates on this thread. I really think the dict logging configurations are clean approach. |
Hi @hussaintamboli: Pull requests and forks are accepted and really much appreciated. Feedback in this thread makes total sense and would love to have the time to spend at some point on it from my side. This year so far I haven't found a weekend to work on this. Happy for others to contribute and collaborate :) |
It is great to support multiple elasticsearch nodes as you do. It would be nice to be able to specify the hostname, scheme, and port in a single string:
Thanks for writing this. I'm not sure why Elastic themselves have not.
Our elastic is also behind a load balancer, so that fault-tolerance doesn't require an array, it would be nice to specify the hosts as a simple string in the case that there is one of them:
It would be nice to be able to specify the authentication as an object rather than a pair (now moving to dictionary based configuration:
This combination of simplification reduces the dictionary configuration complexity by 3 full keys:
use_ssl
= not needed because it is implied by schemeverify_ssl
= not needed because it is implied by scheme, still available to turn offauth_type
andauth_details
combined intoauth
Also, the specification of
hosts
is a little simpler.The text was updated successfully, but these errors were encountered: