how to resolve connecting to splunk via phython?
I got the same error
Traceback (most recent call last):
File "./HelloWorld.py", line 19, in
I came across a reply here https://github.com/splunk/splunk-sdk-python/issues/311 The response body isn't xml, it's html: b'<!doctype html>
See Other
The resource has moved temporarily here.
\r\n'How to resolve this ? Can I force python script to accept html instead of xml ?
thanks !!
Was having the same issue - was using an incorrect URL (one that could handle REST calls), once I updated the host it started to work.
thanks so much !!
On Wed, 5 Oct 2022 at 06:00, Jose Riha @.***> wrote:
Was having the same issue - was using an incorrect URL (one that could handle REST calls), once I updated the host it started to work.
— Reply to this email directly, view it on GitHub https://github.com/splunk/splunk-sdk-python/issues/489#issuecomment-1268404201, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKTREPTSL3C6IQ56OZMK753WBV3WRANCNFSM6AAAAAAQ3ABJKQ . You are receiving this because you authored the thread.Message ID: @.***>
@fishert123 Can you confirm if this issue is resolved for you and it can be closed?
Yes, it is working. You can close it. Thanks so much .
On Wed, 5 Oct 2022 at 14:00, ncanumalla-splunk @.***> wrote:
@fishert123 https://github.com/fishert123 Can you confirm if this issue is resolved for you and it can be closed?
— Reply to this email directly, view it on GitHub https://github.com/splunk/splunk-sdk-python/issues/489#issuecomment-1268970085, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKTREPRBBADBOSUABNG32PLWBXT65ANCNFSM6AAAAAAQ3ABJKQ . You are receiving this because you were mentioned.Message ID: @.***>