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
Added possibility to switch between HTTP and HTTPS #26
Conversation
Added possibility to switch between http and https connection
Update __init__.py
Now is possible to use proxies configurations. The proxies conf have to be defined in standard urllib3 way, e.g. proxyes:{'http':'http://USER:PSWD@proxy.url:PORT', 'https':'https://USER:PSWD@proxy.url:PORT'}
Proxies Configuration
In case use send a python dictionary to a _json type collector you can enable this feature to translate to a valid json for splunk
Hey @dabrign thanks for the contribution! A couple things before I can consider this:
|
Formatting in json the log
Hi, I think at least one occurrence of |
@stuehmer
|
@bdirito Great! (Sorry, I must have looked at the wrong diff). |
Any chance this will get merged and deployed to PyPi? This is the fix I'm looking for 😍 Thanks! |
@zach-taylor |
@dabrign I can also just squash merge this down to 1 commit on master, if you don't mind. |
@zach-taylor fine to me! 👍 |
In some case, e.g. installation on prem. Splunk is using http protocol instead of https.
This patch adds the possibility to select the correct protocol to push log on Splunk.
The default behaviour is not changed since by default https protocol is used