SWIS (SolarWinds Information Service) uses SWQL language - learn more
DataSource connects to SWIS HTTP REST endpoint. As URl specify SWIS HTTP endpoint address which is by default
Unfortunately this endpoint doesn't support CORS so we can connect only via Server(default) and due to self-signed certificate we need to check option 'Skip TLS Verify'. Anonymous connection is not permited so you need to fill in your orion account credentials.
SWQL language is proprietal solarwinds query language to get data from all their data sources, learn more
For time series data there are these conditions.
Grafana macros available to use:
SELECT Caption as __text, NodeID as __value FROM Orion.Nodes
Variables are used in query via its name with prefix $.
SELECT .... FROM ... WHERE .... AND NodeID IN ($Node)
SELECT EventTime as time, Message as text, s.EventTypeProperties.Name as tags
FROM Orion.Events s WHERE EventTime BETWEEN $from AND $to
Example of query with time sampling to display CPUload and memory per node:
SELECT
downsample(ObservationTimeStamp) as time,
a.Node.Caption,
AVG(AvgLoad) as CpuLoad,
AVG(AvgMemoryUsed) as MemoryUsed
FROM Orion.CPULoad a
WHERE ObservationTimeStamp BETWEEN $from AND $to
GROUP BY downsample(ObservationTimeStamp), a.Node.Caption, a.NodeID
ORDER BY time DESC
allow_loading_unsigned_plugins = solarwinds-swis-datasource