I noticed some unexpected behavior in filtering events by fleet. If I’m on a fleet page (e.g. https://notehub.io/project/app:<app uuid>/devices/fleet/fleet:<fleet uuid>
) and I click “View events”, it takes me to the event page with the query param filter_fleet=<fleet uuid>
. This works and filters the events correctly in the view, but when I export events (JSON, all fields) from this view, it includes devices from other fleets in the export. I noticed that if I filter by a fleet directly from the event page, the filter_fleet
query param uses the fleet name instead, and in that case the event export does filter to the correct devices.
I am able to get what I need, but was surprised by this behavior. I would expect the export to match what is shown in the view. Not sure if the export is somehow not using the filter correctly or if the “View events” link needs to use the fleet name instead.
Thanks!