Loki count number of series with a given label

Hey all,

I’d like to count the number of series that have a specific label e.g:

{job=“syslog”, host=“1.1.1.1”}
{job=“syslog”, host=“2.2.2.2”}

I’m essentially trying to count how many ‘hosts’ we’re receiving syslog traffic for.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.