Skip to content

Configuration for Grafana Cloud

Tomasz Kowalczewski edited this page Apr 19, 2021 · 1 revision

Tjahzi can send logs to Grafana Cloud. It needs two things to be configured:

  • Set port number to 443 which switches HTTP client into HTTPS mode.
  • Specify username and password for HTTP basic authentication that Grafana uses.

Password is your "Grafana.com API Key" and can be generated in "Grafana datasource settings". The host in below example is just for illustrative purposes.

    <Loki name="loki-appender">
        <!-- example host -->
        <host>logs-prod-us-central1.grafana.net</host>
        <port>443</port>

        <username>...</username>
        <password>...</password>
       ...
    </Loki>
Clone this wiki locally