Limit Log Collection to Specific Nodes Using Loki-Stack

Hi All,

Sorry if this is a duplicate or obvious question, but I am installing loki-stack using helm based on the documentation here Helm | Grafana Labs and I am trying to figure out how to limit the logs that are collected by promtail and sent to loki (this is an on prem environment and storage is more of an issue than if we were running in EKS or the like). At a base level, I would like to be able to collect pods from some nodes in a cluster, but not others. However, it would also be helpful to know if more granular rules are possible, such as collecting from some namespaces, but not others.

Many thanks in advanced for anyone who is willing and able to help.