-
Notifications
You must be signed in to change notification settings - Fork 371
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
Splunk SDK "output_mode : json" - decode('utf-8', 'xmlcharrefreplace'), match) #285
Comments
ok. |
_load_sid(response) does a simple _load_atom(response), assuming that everything is XML. I've hacked around it for now myself by doing: def _load_sid(response, output_mode="xml"): and changing the two call sites to: |
And then realized that the results() call comes back with XML by default. |
@sidsinhad we have addressed this issue and the fix will be available in the next release. |
@sidsinhad we would request you to use the latest SDK release. We have implemented the fix and is available in the latest SDK release. Please let us know if you still face the issue. |
I am trying to export splunk result into json format using splunk sdk.
Below is the code I am using, this works when output_mode is csv, but when I use json, it fails with the error mentioned below.
Below error:
I updated the sdk version to 1.6.11, still the same.
The text was updated successfully, but these errors were encountered: