Complex vRNI Queries
Hi everyone - this'll be a short post, as I just wanted to write some some quick notes about queries in vRealize Network Insight. VMware has a great document on some Advanced vRNI Queries ; I wanted to talk about the keyword "in" and "of" and record how I've used them for some other interesting queries that aren't on their list. "In" allows you to search in a list so that you can take advantage of nested queries. "Of" allows you to specify a property of a query (which can be useful when you want to search a list based on that property). So, if I want to see all network flows that hit firewall rules in a particular NSX section, I could use this query: flow where firewall rule in (nsx firewall rule where section name = "My Critical Section") That will give me a list of all flows that have hit any firewall rules in that section. That's actually the query that I needed to solve my problem, but I solved it with &qu