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 (3)
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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...