Splunk Search

Varying search results

zbumpers
New Member

I get different search results when I search using Host and Index.

When I search index=batchfs I get the following result:

2014-08-20 11:16:00.012-04:00 INFO [Timer-0] "com.domain.util.log.PerfLog2.writeLog:418" 
Performance statistics for period 11:06 to 11:16 (10 minutes).
Heap size in bytes is 657668584
LongRunningConnectionLogger:ProcessConnectionEventQ #:20 avg:0 sd:0 min:0 max:0                                                    
host = servername source = D:\path\path\dgw.log sourcetype = dgw

When I search for index=batchfs host=servername I get the same result.

However when I search for host=servername I get no results found.

Why am I unable to search by host name?

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Check the "Indexes searched by default" setting for your role. It probably does not include batchfs.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...