
Does anyone know about the Filter, TopKeys, Absolute, Interval, Rx, Tx, and StatsID parameters that are required for read query against the Orion.NetFlow.CBQoS(Detail,Top) entities?
I have had guesses about what they should be, and have tried those guesses, to no avail.
Hi,
I can explain meaning of these parameters. At first the meaning of entities itself. CBQoSTop gives you top QoS classes on one interface ordered by total bytes. CBQoSDetail gives you time values for selected class maps (this is used to draw chart). Typically you call Top entity to get top classes and then for these classes you call Detail entity to get time samples.
I'll start with CBQoSTop entity:
Filter example: 'NSF:I:123;TD:2012-01-30T17:00:00~2012-01-30T17:30:00,1,True,True;FD:Both'
Here is full example for CBQoSTop entity:
SELECT ClassID, ClassName, TotalBytes AS TotalBytesDecimal, Direction, PolicyName, LastPolledValue, LastPolledIntervalLength FROM Orion.NetFlow.CBQoSTop(Filter='NSF:I:123;TD:2012-01-30T17:00:00~2012-01-30T17:30:00,1,True,True;FD:Both', Limit='-1', Rx=True, Tx=True, StatsID='cbQosCMPrePolicyByte64', TopKey='')
Now CBQoSDetail entity:
Example:
SELECT ClassID, StartTime, TotalBytes as TotalBytesDecimal
FROM Orion.NetFlow.CBQoSDetail(Filter='NSF:I:123;TD:2012-01-30T17:00:00~2012-01-30T17:30:00,1,True,True;FD:Ingress', TopKeys='20,21,22', Absolute=False, Rx=True, Tx=True, StatsID='cbQosCMPrePolicyByte64')
Let me know if you need more details or any help.
EDIT: Mentioned NTA schemas aren’t unfortunately intended as a public API. They are designed for internal purposes as a layer between DB and Web and the usage is also special, it can’t be used as other standard schemas. Those NTA SWIS schemas can be changed significantly any time without any limitation. That’s a reason why there isn’t any public documentation for those schemas.
Regards,
Martin