10 Apr 2025
08:50 AM
- last edited on
14 Apr 2025
07:58 AM
by
MaciejNeumann
Hi all,
Hello everyone, I am trying to exclude the sysdig processes reported by this query on java processes. I tried with -not(contains,- without success. Any idea? Thanks in advance
builtin:pgi.availability:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),processType(~"JAVA~")"))))):splitBy("dt.entity.process_group_instance"):sort(value(auto,ascending)):limit(100)
Solved! Go to Solution.
10 Apr 2025 09:23 AM
Hi,
I have just tried in that way and looks like working.
builtin:pgi.availability.state
:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(~"PROCESS_GROUP_INSTANCE~"),not(entityName.contains(~"sysdig~"))"))),or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),processType(~"JAVA~")")))))
:splitBy("dt.entity.process_group_instance")
:sort(value(auto,descending))
Best regards
11 Apr 2025 09:27 AM
Thanks for your help, it works !