I use the below AQL script to query and pull the logs related to Log4J exploit attempt in our environment.
SELECT QIDNAME(qid) AS "Event Name", sourceip AS "Source IP", destinationip AS "Destination IP", destinationport as "Destination Port",DATEFORMAT(devicetime, 'yyyy-MM-dd HH:mm:ss z') AS "Log Source Time",LOGSOURCENAME(logsourceid) AS "Log Source","URL" as 'URL',"ACTION" as 'Action',"EVENT_ID" as "Custom_event", SUM(eventcount) FROM events WHERE UTF8(payload) IMATCHES '.*\$(\{|%7B)[^\}]*?j.*?n.*?d.*?i.*' and devicetype != 105 GROUP BY "Event Name","Source IP" LAST 24 HOURS
#QRadar#Support#SupportMigration