<p>I cannot login to Grafana via http://localhost:3000 on Windows after installing loki via helm on a K8S cluster hosted on GCP. I am following the official documentation here: <a href="https://grafana.com/docs/loki/latest/installation/microservices-helm/" rel="nofollow noreferrer">https://grafana.com/docs/loki/latest/installation/microservices-helm/</a>
Once I login to my K8S cluster on GCP, I install loki+grafana via:</p>
<pre><code>helm upgrade --install --namespace=monitoring promtail grafana/promtail --set &quot;loki.serviceName=loki&quot;
helm upgrade --install loki --namespace=monitoring grafana/loki-distributed
helm install --namespace=monitoring loki-grafana grafana/grafana
</code></pre>
<p>But when I arrive to this command to return the admin password to login, the full command returns seemingly the entire json response:</p>
<pre><code>kubectl get secret --namespace monitoring loki-grafana -o jsonpath=&quot;{.data.admin-password}&quot; | base64 --decode ; echo
</code></pre>
<p>but if I only do</p>
<pre><code>kubectl get secret --namespace monitoring loki-grafana -o jsonpath=&quot;{.data.admin-password}&quot;
</code></pre>
<blockquote>
<p>UFlPV1dDUkw3NkVxdlFNTU84UXpPMHVkbW9PeXNrTUY5Z3lFeXR....
Then to expose the port:</p>
</blockquote>
<pre><code>kubectl port-forward service/loki-grafana 3000:80 -n monitoring
</code></pre>
<p>Then access the GUI via local web-browser at http:localhost:3000.
I get denied with user=&quot;admin&quot;, password=&quot;UFlPV1dDUkw3NkVxdlFNTU84UXpPMHVkbW9PeXNrTUY5Z3lFeXR....&quot;</p>
<p>I am not sure how to debug this process. I installed base64 via chocolatey in the admin powershell via: <code>choco install base64</code></p>

Matt - Block-Farms.io
<p>From what I see, you should base64 decode the password before entering it into the UI. If that doesn‘t help you could restart the grafsna pod.</p>
