I am trying out custom search command.
I have in commands.conf the below
[createrecord1] chunked = true filename = myjava.path command.arg.1 = -jar command.arg.2 = splunkcreaterecord1.jar
I would like to know how to pass argument values from search
eg if I type
" java -jar splunkcreaterecord.jar" without the parameter
I would like the jar file to be executed as
java -jar splunkcreaterecord.jar **100**