Basic search which lists processes that include log4j in the cmdline> on Windows, Mac and Linux. The query returns a lot of results but works for an insight into what's running on the estate.
SELECT
meta_hostname AS ep_name,
name,
cmdline,
path...