|
I tried to run the Search example in 'http://dev.splunk.com/view/java-sdk-getting-started/SP-CAAAEDF' C:Program Filessplunk-sdk-java>java -jar dist/examples/search.jar "search * | head 10" --output_mode=csv result : Error: query 'search * | head 10' is invalid: What is the problum? |
|
I got it the problum. Maybe i think .splunkrc file configuration is wrong. So, Below is run well. java -jar dist/examples/search.jar --username "admin" --password "changeme" "search * | head 10" --output_mode=csv |
|
Sounds like we could do with better error reporting. I'll see to it that this is fixed. |
