Docs: Add 'tenant_id' for Loki clients (Auditing & Analytics) (#63098)

* Docs: Add 'tenant_id' for Loki clients (Auditing & Analytics)

* Apply suggestions from code review

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
pull/65407/head
Joan López de la Franca Beltran 2 years ago committed by GitHub
parent ec4152c7e5
commit f9abd8608e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      docs/sources/setup-grafana/configure-grafana/enterprise-configuration/index.md
  2. 3
      docs/sources/setup-grafana/configure-security/audit-grafana.md
  3. 3
      docs/sources/setup-grafana/configure-security/export-logs.md

@ -102,6 +102,10 @@ Set the address for writing logs to Loki (format must be host:port).
Decide whether or not to enable the TLS (Transport Layer Security) protocol when establishing the connection to Loki. Defaults to true. Decide whether or not to enable the TLS (Transport Layer Security) protocol when establishing the connection to Loki. Defaults to true.
### tenant_id
Set the tenant ID for Loki communication, which is disabled by default. The tenant ID is required to interact with Loki running in [multi-tenant mode](/docs/loki/latest/operations/multi-tenancy/).
## [analytics.summaries] ## [analytics.summaries]
### buffer_write_interval ### buffer_write_interval
@ -212,6 +216,10 @@ Set the URL for writing logs to Loki.
If true, it establishes a secure connection to Loki. Defaults to true. If true, it establishes a secure connection to Loki. Defaults to true.
### tenant_id
Set the tenant ID for Loki communication, which is disabled by default. The tenant ID is required to interact with Loki running in [multi-tenant mode](/docs/loki/latest/operations/multi-tenancy/).
## [auth.saml] ## [auth.saml]
### enabled ### enabled

@ -424,6 +424,9 @@ type = grpc
url = localhost:9095 url = localhost:9095
# Defaults to true. If true, it establishes a secure connection to Loki # Defaults to true. If true, it establishes a secure connection to Loki
tls = true tls = true
# Set the tenant ID for Loki communication, which is disabled by default.
# The tenant ID is required to interact with Loki running in multi-tenant mode.
tenant_id =
``` ```
If you have multiple Grafana instances sending logs to the same Loki service or if you are using Loki for non-audit logs, audit logs come with additional labels to help identifying them: If you have multiple Grafana instances sending logs to the same Loki service or if you are using Loki for non-audit logs, audit logs come with additional labels to help identifying them:

@ -85,6 +85,9 @@ type = grpc
url = localhost:9095 url = localhost:9095
# Defaults to true. If true, it establishes a secure connection to Loki # Defaults to true. If true, it establishes a secure connection to Loki
tls = true tls = true
# Set the tenant ID for Loki communication, which is disabled by default.
# The tenant ID is required to interact with Loki running in multi-tenant mode.
tenant_id =
``` ```
Using `logger` will print usage insights to your [Grafana server log]({{< relref "../../setup-grafana/configure-grafana/#log" >}}). Using `logger` will print usage insights to your [Grafana server log]({{< relref "../../setup-grafana/configure-grafana/#log" >}}).

Loading…
Cancel
Save