Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DataDog Log Search empty string facet

Tags:

datadog

On DataDog log search, I want to search for logs with empty string for a specific facet, e.g. logs with userId is empty. @userId:'' , @userId:"", -@userId:* non worked.

like image 241
hevi Avatar asked Mar 03 '23 12:03

hevi


2 Answers

this seem to be working: -@userId:*?* do not forget the minus at the start.

like image 50
hevi Avatar answered May 30 '23 16:05

hevi


This may have been patched. -@userId:* is working for me, now.

like image 23
steel Avatar answered May 30 '23 17:05

steel