If I dispatch a saved search with no parameters (like $IP$, $HOST$, $username$, etc), it runs properly and returns result, but for some reason when dispatching a search with parameters, I get no rows in the result.
Here's how I'm sending the search with params:
mySavedSearch.dispatch({ "dispatch.IP": "192.168.0.1" }, function(err, job) { ... }
I got this from the SavedSearch documentation:
http://docs.splunk.com/DocumentationStatic/JavaScriptSDK/1.1/splunkjs.Service.SavedSearch.html#splunkjs.Service.SavedSearch-dispatch
Can anyone advise me how to run a saved search with the Javascript SDK, with parameters?
Thanks!
Yossi.
... View more