Deploy loki to visualize logs in grafana

I have installed grafana dashboard as part of kubecost helm chart. To view pod logs I deployed loki (using grafana/loki helm chart) but in grafana dashboard I can only see pod logs in loki namespace. other namespace pods are not visible,
please suggest if I need to make some configuration changes while deploying grafana/loki helm chart to view logs of pods for all namespaces

thanks in advance