Splunk Search

Why does my search empty during run?

michaelnorup
Communicator

Hi all.

I have a search that searches a large amount of events.
Its run on fast mode, on the statistics page.

When i start the search it slow starts populating the fields, but then at one point it just empties all the results and says "No results found", even thought they were there at the beginning of the search running...

Any ideas what could be the issue here? Never had anything like this before on other large searches though
Some setting in limits.conf or something?
All i get is this, which makes no sense since data is there at the start of the search

michaelnorup_0-1677743841444.png

In the beginning it shows data:

michaelnorup_0-1677744534137.png

 



Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Since you have blanked out most of your search, it is difficult to say, if I were to guess, I would say that the sort truncated your results such that there were no longer any results which matched your search criteria. Try using 

| sort 0

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Since you have blanked out most of your search, it is difficult to say, if I were to guess, I would say that the sort truncated your results such that there were no longer any results which matched your search criteria. Try using 

| sort 0

michaelnorup
Communicator

So this was the solution. Can you explain to me why the sorting would just hide ALL the results, instead of showing the last 10.000 like it says it does?

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

It is not the sorting which hides the results per se. The sorting (without the zero) has been truncated (according to your screenshot) so not all the events are present. The part of the search that you did leave visible shows a search based on the values of certain fields. My guess is that within the truncated set of events, there were no matches for this search.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...