IBM Support

QRadar: When Running the Same AQL Search in UI, It Returns Different Result Count

Question & Answer


Question

I am trying to run a search in QRadar 7.4.0 fix pack 3, and everytime I run the search, it yield different number of result count. When I run the main search, it gives me the expected number of result count. It looks like the issue is related to the subquery. 
SELECT 
DATEFORMAT(devicetime, 'yyyy-MM-dd hh:mm:ss a') as 'DateTime', "EventID", QIDDESCRIPTION(qid),
 LOGSOURCENAME(logsourceid), "Handle ID", "Logon ID", "File Path", username
FROM events
WHERE 
("Logon ID" IN (SELECT  "Logon ID" FROM events 
WHERE 
LOGSOURCETYPENAME(devicetype) = 'Microsoft Windows Security Event Log' 
AND LOGSOURCENAME(logsourceid)='server name' AND "EventID"='4663')) AND "EventID"<>'5140'
ORDER BY username ASC
LAST 24 HOURS

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBQAC","label":"IBM Security QRadar SIEM"},"ARM Category":[{"code":"a8m0z000000TNAHAA4","label":"ATS-SecIntel Backup-\u003EQRadar Incident Forensics-\u003EQuery Filters"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Product Synonym

QRadar SIEM

Document Information

Modified date:
07 July 2020

UID

ibm16244632