Checking how many nodes are actually consuming Log Analyzer license

Hi All,

Request for aid please, can we easily identify how many nodes are actually consuming a Log Analyzer (LA) license?

There is the SQL query provided by SolarWinds however it doesn't work -

The issue we have is for a large number of our nodes, the - Log and Event Monitoring - Status - is set to - Default (picture below). We have surpassed our total nodes in the LA license and we have some nodes clearly consuming a license with this setting at Default, and others at Default that aren't.

Am thus trying to confirm which are really consuming a license, is there a query that can be run to identify this please?

Many thanks.