SumoLogic/sumologic-python-sdk

Bug on Search Job - does not work if autoParsingMode is not specified

Closed this issue · 2 comments

AutoParsing Mode is getting passed as null causing incomprehensible 500 errors. From reaching out to sumo support this is because it's passing that null.
This should either not be set if it's null (remove the key) or it should be set to either Manual or Automatic

def search_job(self, query, fromTime=None, toTime=None, timeZone='UTC', byReceiptTime=None, autoParsingMode=None):

Based on documentation about the defaults, this should be set to 'Manual'

Thanks @upstart-swiss , for raising and fixing the issue.