About SolarWinds
SolarWinds, Inc develops and markets an array of network management, monitoring, and discovery tools to meet the diverse requirements of todays network management and consulting professionals. SolarWinds products continue to set benchmarks for quality and performance and have positioned the company as the leader in network management and discovery technology. The SolarWinds customer base includes over 45 percent of the Fortune 500 and customers from over 90 countries. Our global business partner distributor network exceeds 100 distributors and resellers.
Contacting SolarWinds
You can contact SolarWinds in a number of ways, including the following: Team Contact Information sales@solarwinds.com www.solarwinds.com 1.866.530.8100 +353.21.5002900 www.solarwinds.com/support www.thwack.com
Sales
Conventions
The documentation uses consistent conventions to help you identify items throughout the printed and online library. Convention Bold Italics Specifying Window items, including buttons and fields. Book and CD titles, variable names, new terms File and directory names, commands and code examples, text typed by you Optional command parameters Required command parameters Exclusive command parameters where only one of the options can be specified
Fixed font
Straight brackets, as in [value] Curly braces, as in {value} Logical OR, as in value1|value2
Contents
About SolarWinds ........................................................................................... iii Contacting SolarWinds ................................................................................... iii Conventions .................................................................................................... iv
Chapter 1
Introduction to Resource Filtering ............................................................... 7 Filter Syntax ..................................................................................................... 7 SWQL Filter Syntax Examples .................................................................... 8 SQL Filter Syntax Examples ....................................................................... 9
Chapter 2
SWQL Resource Matrix ............................................................................... 11 Orion EOC Filters .......................................................................................... 12 Orion IVIM Filters ........................................................................................... 18 Orion APM Filters .......................................................................................... 20
Contents v
vi Contents
Chapter 1
Filter Syntax
There are two slightly different filter syntax types: Structured Query Language (SQL) syntax and SolarWinds Query Language (SWQL) syntax. The two main differences between SQL and SWQL are: The SWQL wildcard character is %. The SQL wildcard character is *. If the resource you are trying to filter creates its list by joining two tables together that contain properties that share the same name, you cannot filter on that property unless you attach a particular SQL table name to the beginning of the property name. The same is true also for SWQL queries, except you must look up the SWQL name and use that as a prefix insteadof a SQL table name.
SQL or SWQL? It is not always obvious whether a resource requires SQL syntax or SWQL syntax filters. Generally, the resources that have most recently been added to SolarWinds Orion use SWQL syntax, while the oldest ones require SQL syntax. Look for additional guidance at the bottom of the Edit Resource page in the form of words such as "SWQL query" or "SQL query".
Orion NPM Features 7
Filtering by Built-in Properties Use the SWQL table name for selecting properties for your queries. Examples Example filter to show data from Cisco devices:
Node.Vendor = 'Cisco'
Example filter to show data from Process Monitor SNMP type component monitors:
Monitor.ComponentType = 8
Filtering by Status To filter by the status property, you must know the valid status levels.
Level 0 1 2 3 14 Status Unknown Up Down Warning Critical
Example filter to show data only from component monitors named Server Load Monitor:
Monitor.Name like 'Server Load Monitor'
Filtering by Status To filter by the status, you must know the valid status levels.
Level 0 1 2 3 14 Status Unknown Up Down Warning Critical
Chapter 2
Global Top XX Process Monitors by Virtual Memory Total Application by Type for Each Local Orion
Events Filters
Resource Global Events Summary SQL Table Name EOC.Event EOC.EventType EOC.Orion EOC.Event EOC.EventType EOC.Node EOC.Orion SWQL Name Event EventType Orion Event EventType Node Orion
Inventory Filters
Resource Number of Interfaces by Type Number of Nodes by Device Type Number of Nodes by IOS/OS SQL Table Name EOC.Interface EOC.Node EOC.Orion EOC.Node EOC.Orion EOC.Node EOC.Orion SWQL Name I Node Orion Node Orion Node Orion
Top XX Access Points by Number of Clients Top XX Wireless Clients by Traffic Rate
Global Down Nodes Global High Errors & Discards Today Global Node Status by Site Global Nodes with High CPU Load Global Nodes with High Memory Utilization Global Nodes with High Packet Loss Global Nodes with High Response Time Global Top XX Nodes with Problems Global Volumes with High Percent usage Orion Summary Statistics
SysLog Filters
Resource SysLog Summary SQL Table Name EOC.Orion EOC.SysLog SWQL Name Orion SysLog
Trap Filters
Resource Global Trap Resource SQL Table Name EOC.Orion EOC.Trap SWQL Name Orion Trap
Datacenter Details
Resource Top 10 VMware Hosts by Percent Memory Used Top 10 VMware Hosts by Network Utilization Top 10 VMware Hosts by CPU Load Top 10 VMware Hosts by Number of Running VMs SQL Table Name Orion.VIM.Hosts Orion.Nodes Orion.VIM.Hosts Orion.Nodes Orion.VIM.Hosts Orion.Nodes Orion.VIM.Hosts Orion.Nodes SWQL Name hosts nodes hosts nodes hosts nodes hosts nodes
Cluster Details
Resource Top 10 Managed VMware Guests by Current Response Time Top 10 Managed VMware Guests by Percent Memory Used Top 10 Managed VMware Guests by CPU Load Top 10 Managed VMware Guests by Network Usage SQL Table Name Orion.VIM.VirtualMachines Orion.VIM.Hosts Orion.Nodes Orion.NodesStats Orion.VIM.VirtualMachines Orion.VIM.Hosts Orion.Nodes Orion.VIM.VirtualMachines Orion.VIM.Hosts Orion.Nodes Orion.VIM.VirtualMachines Orion.VIM.Hosts Orion.Nodes SWQL Name vms hosts nodes stats vms hosts n vms hosts n VM H n