Hi @keyu921,
sorry, what's the question?
does your search run or doesn't give you the waiting for results?
Could you share what you would have and what yu really have with this search?
viewing you search I see that you could optimize it but it doesn't seem to be wrong
index=windows host=* EventCode=19 NOT (TaskCategory="Windows Update Agent" OR
Message="*Update for Microsoft Defender Antivirus*" OR Message="*Security Intelligence Update*")
| table _time host EventCode Message
Ciao.
Giuseppe