Splunk Search

What’s wrong with Splunk search?

indeed_2000
Motivator

Hi

I have several log files that add to Splunk, now try to search this string:

index="Myindex" | search "HQL query plan in cache (select i from table1 i where"

splunk return 198 events but when i try to grep on the shell return 242!

 

FYI 1: time scope set to “all time”

FYI 2: index process completed.

Thanks,

 

Labels (4)
Tags (1)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

You will need to first validate that you have ingested the log files correctly. If you have different results from the grep and the Splunk search, then it should be easy enough to drill into that 198/242 discrepancy by looking at smaller and smaller sections to narrow down where the results are out of sync.

 

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...