Closed christoffertoft closed 3 years ago
@christoffertoft This SDK does not support Json output_mode but only XML output. Can you please provide more details where you expect Json results and why you used the output_mode as Json?
@christoffertoft Closing this issue due to no response on it. Please reopen if this is still an issue.
Describe the bug When calling service.apps.list() with output_mode="json", Etree cannot parse the results:
To Reproduce Steps to reproduce the behavior: Initialize a connection to your Splunk Search Head and call service.apps with output_mode = "json":
Expected behavior Should return a list of the Application objects but json formed, like a call to
s.apps.list()
would:Logs or Screenshots If applicable, add logs or screenshots to help explain your problem.
Splunk
SDK splunk-sdk 1.6.14 splunklib 1.0.0 Python 3.6.5