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
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...