How to list all assigned labels

the following works (if you are not using distributed monitoring)

lq "GET hosts\nColumns: labels" | tr , '\n' | sort -u
3 Likes