Splunk Search

Why is search not executing?

mmor
New Member

Hello

I am using Splunk to analyze results from Qualys Vulnerability Scanning

I have noticed that one of my searches is not returning any results :

index="qualys" earliest=-0mon@mon |
 where host_ip="10.10.10.10"

I know there should be results for this specific search but the search almost instantly returns the "No results found" message with no errors or warning displayed

However, during my investigation, I noticed that if I add any subsearch to the original search, the search work as intended.
example:

 index="qualys" earliest=-0mon@mon  |
 where host_ip="10.10.10.10"  | append 
     [ search index=qualys 
     | tail 1]

This search should append only 1 line after the original search, but it now returns 36 results and takes more than 5 minutes (35 results are what we expect from the original search).

Did anyone encounter this issue?

Regards

0 Karma

diogofgm
SplunkTrust
SplunkTrust

Use this

index="qualys" earliest=@mon host_ip="10.10.10.10"

there is no point on using |wheresince you're filtering. just do it in the main search
also since your point is from beginning of the month you can just use earliest=@mon

------------
Hope I was able to help you. If so, some karma would be appreciated.
0 Karma

mayurr98
Super Champion

try this?

index="qualys" earliest=-0mon@mon host_ip="10.10.10.10" | table _raw

and then try without table as well.

0 Karma

mmor
New Member

Hello,

Thanks for your answer.

This does fix the issue for this specific search but i'd like to know why my original search is not working in case this issue is affecting my other searches

Regards

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!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

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