Hi
I am trying to run collect command from python script. Below is my command:
check_output("%s search \"| savedsearch splunkit_search_chart | addinfo | collect index=%s marker=\"searchname=search_chart1, cycle=1\" \" %s:%s" % (splunkCmdPath,idxName,USERNAME,PASSWORD))
The python script runs fine if I specify only one marker variable (searchname). When more than 1 marker variable is added, separated by comma, it gives me below error:
FATAL: Error in 'collect' command: Invalid argument: 'cycle=1'
Through splunk web, i could add any no. of variables using marker parameter. Did anyone face this error? Please let me know where am i going wrong.
Thanks
Mehala
... View more