예제 #1
0
def run_search(commandParameters, channel):
	results = Splunk.runSearch(commandParameters[0])
	results = eval(results)
	table = Util.formatResultsAsHTMLTable(results)
	HipChat.postNotification(table, channel, format = 'html')
예제 #2
0
def runSearch(params):
	return splunk.runSearch(params[0])