Skip to content

Filter by Tags with dcim.devices.filter not working? #18792

Answered by pheus
oldnotebook asked this question in Help Wanted!
Discussion options

You must be logged in to vote

Great question! In NetBox, tags function more like labels rather than key-value pairs, so filtering by "env: lab" as a direct value won’t work. Instead, you’ll need to filter using the tag’s slug. You can find more details on how tags work in the NetBox documentation here: NetBox Tags.

Hope that helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oldnotebook
Comment options

Answer selected by oldnotebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants