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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...