Livestatus query problem

Hi,

Can someone help in getting host_tags details for the below query.

Query : lq “GET hosts\nColumns: host_state name alias”

Able to get the details for the above query. Is it possible to get tags and its corresponding tag values using above query?

“host_tag_Resource-Unit”,
“host_tag_MarcID”,
“host_tag_DetailsCC”

Thanks in Advance

Just add the columns tags and/or labels.

1 Like

Thanks@r.sander

lq “GET hosts\nColumns: host_state name alias tags” worked for me.

1 Like