def run_saved_search(commandParameters, channel): results = Splunk.runSavedSearch(commandParameters[0]) HipChat.postNotification(str(results), channel)
def runSavedSearch(params): return splunk.runSavedSearch(params[0])