I need to run a query with 3 conditions for the “:filter” command, and I am having a hard time with the syntax.
This is the base query that I am working off of:
1 builtin:tech.generic.mem.workingSetSize
2 :filter(in(“dt.entity.process_group_instance”,entitySelector(“type(process_group_instance),entityName(~“Oracle Database~”)”)))
3 :parents:splitBy(“dt.entity.host”):avg:sort(value(avg,descending))
4 :filter(in(“dt.entity.host”, entitySelector(“type(~“HOST~”),tag(~“TYPE:Oracle Database Server~”)”)))
It returns all results without any issues, but I need to add another condition for filtering. I have built the condition separately and I have tried to add the line below, to no avail:
5 :filter(in(“dt.entity.host”, entitySelector(“type(~“HOST~”),tag(~“Capability:Global Money Transfer~”)”)))
I am assuming that there might be a conflict between the multiple “:filter” instances and the way around would be using the AND operator, but I am struggling so hard with the syntax that I was hoping to get a little guidance from the community.