netenglabs / suzieq

Using network observability to operate and design healthier networks
https://www.stardustsystems.net/
Apache License 2.0
787 stars 104 forks source link

Fix namespace filter matching when there is a partial match #838

Closed claudiolor closed 1 year ago

claudiolor commented 1 year ago

Description

The namespace always matched with a partial match, this means that if a filter like: device show namespace=dc matches both dc-01 and dc-02 match. This PR fixes this issue and require the filter to match the entire namespace name. Additionally, the the $ token didn't work, fixed now.

Type of change

Please delete options that are not relevant.