I'm trying to get a straight forward Splunk CLI command to run on my Windows 7 box;
Execute a save search say MySearch and output the results to a CSV.
splunk search "|savedsearch MySearch" -outputcsv test.csv
I would expect the resulting CSV to appear in the C:\Program Files\Splunk\var\run\splunk directory but it doesn't.
The search results are appearing the command window indicating that the CLI command is running.
I have read that there can be some syntax issues running the CLI on a windows box.
What am I missing?
... View more