how to search with keywords in C#
after change "search *" to "search SQL Server", seems runs a long time
Or further distilled: RTFM.
Review this, then ask a question.
http://docs.splunk.com/Documentation/Splunk/6.0/Search/Usethesearchcommand
I will just rephrase Ayn here:
Sounds like you really need to take the basic Splunk tutorial.