Splunk Search

Why is Splunk Search Not Working Properly?

omera
Explorer

When we are doing searches on Splunk we are encountering a strange issue. For example, when I add sc4s_fromhostip=... to the search I can't see all the events, sometimes I can't see any results. Normally there are events. When I check with stats (... | stats count by sc4s_fromhostip) I can see the number of events. When I put a wildcard * to the end (sc4s_fromhostip=...*) then the number of events increases but still it doesn't show all of them.

If I do an eval and make a copy of the sc4s_fromhostip field it works properly and I can see all the results. Like ... | eval a=sc4s_fromhostip | a=…

* This happens on all the search heads in the cluster and outside the cluster.
* If I change the user it still continues.

Did anyone encounter a similar issue before?

Labels (1)
0 Karma

somesoni2
Revered Legend

Try to run your base search (without sc4s_fromhostip filter), then click on sc4s_fromhostip value on field Sidebar on left. it'll add the search filter to your main search with proper format. If there are any special character, extra spaces, it should tell you that.

0 Karma

omera
Explorer

Hi somesoni2. I'm adding the field to the search by going over the field that Splunk has found and pressing add to search. So Splunk adds it from the results it has generated. But after it adds it to the search it doesn't show the events.

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!

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Splunk Developer Day announcements: AI agents, MCP tools, Forecasting, and Custom ...

Splunk Developer Day was packed with product and platform updates for developers building in the AI ...