Hi,
I was able to reproduce this issue on Windows with V5.0.0 of sendresults. Turns out it's a python2/3 thing that got missed during our testing.
If you are on Windows + 8.0.x then I suggest setting Splunk to use python3 for the alert action version (make the change in local):
[sendresults_alert]
python.version = python3
If you are on Windows + 7.3.x then you will need to update line 206 of $SPLUNK_HOME/etc/apps/sendresults/bin/sendresults_alert.py
Change from this:
with gzip.open(payload.get('results_file'),'rt') as fin:
To This:
with gzip.open(payload.get('results_file'),'r') as fin:
If you make this change you will need to revert the change back if you upgrade to Splunk 8.0.x and apply the python version change as noted.
We will add an issue and address it properly in our next release. Thanks for letting us know about it. Feel free to email us at
[email protected] if you have any other issues/questions about sendresults.
Thanks,
Derek.
... View more