Hi !
I am totally new in SWQL so I need a little help about .
I use Grafana with a SWIS datasource connected to my SW server. It works fine, I've already made a bit of simple panels in Grafana with a data from SolarWind but I am not keen on enough in SWQL 8( so I faced with some troubles.
Shortly. I have a Cisco WLC controller with a bunch of wireless access points connected to. I get all the info about from Orion.Wireless() tables . But I am stuck with very simple task - to build the graph about a Clients amount on each AP.
I do SWQL on that way
SELECT
ap.Client,
ap.DisplayName
FROM
Orion.Wireless.AccessPoints ap
WHERE
ap.ContorllerID =($ContID) AND ap.ID=($APID)
where $ContID and $APID are two variables defined in dashboard menu and their labels seen in drop-down windows above the panel . they simple define the Controller and a particular AP in it. When I run it against a first visualiser , Table , -I get a current amount of client on a chosen AP as a table. All works fine. But when I try to apply it into a second one - Graph, it draws me nothing. No line at all. Yes, it shows the legend below (DisplayName), yes, it draws on a Y axis a limitation closer to a current value of the Clients , but no points on graph.At all . It is completely empty.
On which way shoud I change my SWQL query ? What on the earth should I use as time ? There are no time or date rows on Wireless Tables..Please, help me out to put my things in order
Thanks in advance.