It appear that user session query is not controlled by management zone, is that a bug or a feature?
The use case here is a deshlet in dashboard that shows the slowest user actions in applications from the MZ.
When switching between MZs we see User Actions from application not belong to the MZ.
Any insight why ?
Thanks in advnce
Answer by Christian G. ·
The user sessions queries does consider mgmt zones, however if you have a session that spans over 2 or more mgmt zones all user actions from that session will be considered. Meaning that if you have a session that goes to Application A and then to Application B and you have these in two different mgmt zones, all actions from both mgmt zones will be shown for that session. But if the session only goes to Application A you will only see those actions when applying mgmt zone A, and when you switch to mgmt zone B you should not see any actions from Application A.
Answer by Sebastian K. ·
Those queries are returing exact data that you're asking for. So if there is no filter in query to limit to particular apps you will always see full results. What you are excepcting is affecting queries by extra filter which is not implemented as I know.