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!

Unlocking Unified Insights: New Gigamon Federated Search App for Splunk

In today’s data-heavy environment, organizations are caught in a data distribution dilemma. As data volumes ...

GA: New Data Management App in Splunk Platform

Streamlining Data Management: Introducing a unified experience in Splunk Managing data at scale shouldn’t feel ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...