cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

excluding certain process type from a query of process availability

MartinB
Newcomer

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)

2 REPLIES 2

AntonPineiro
DynaMight Guru
DynaMight Guru

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

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Thanks for your help, it works !

Featured Posts