This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Aggregate Functions on NTA entities

Hi community emoticons_happy.png

wondering whether we have any updates on SWQL NTA Entities and aggregated functions.

i've been asked for a report where the sum of the bytes transferred for a specific IP address is more than 1GB over the last 24 Hours, see below as an example:

SELECT NodeID, SourceIP, DestinationIP, SUM(TotalBytes) AS SumA

FROM Orion.Netflow.Flows

WHERE TimeStamp>GetDate()-2

AND TimeStamp<GetDate()-1

GROUP BY NodeID, SourceIP, DestinationIP

HAVING SUM(TotalBytes)>1073741824

Results include all rows, ignoring the HAVING clause completely. i've opened a similar thread here, where no correct answers were given.

has anyone experienced any similar issues over SWQL and NetFlow ?

the actual requirement is more complex where multiple select statements are likely to cause performance issues (in case its actually doable) so that's out of the question sadly

Antonis Athanasiou

Prosperon - UK SolarWinds Partners

Installation | Consultancy | Training | Licenses

facebook_icon.jpglinkedin.pngblogger.pngtwitter-icon.jpg