You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -9,28 +9,34 @@ description: Provides an overview of the steps for implementing Grafana Loki to
9
9
10
10
{{< youtube id="1uk8LtQqsZQ" >}}
11
11
12
-
Loki is a horizontally scalable, highly available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost-effective and easy to operate. It does not index the contents of the logs, but rather a set of labels for each log stream.
12
+
Loki is a horizontally scalable, highly available, multi-tenant log aggregation system inspired by Prometheus.
13
+
It's designed to be very cost-effective and easy to operate.
14
+
It doesn't index the contents of the logs, but rather a set of labels for each log stream.
13
15
14
-
Because all Loki implementations are unique, the installation process is
15
-
different for every customer. But there are some steps in the process that
16
-
should be common to every installation.
16
+
Because all Loki implementations are unique, the installation process is different for every customer.
17
+
But there are some steps in the process that are common to every installation.
17
18
18
19
To collect logs and view your log data generally involves the following steps:
19
20
20
21

21
22
22
-
1. Install Loki on Kubernetes in simple scalable mode, using the recommended [Helm chart](https://grafana.com/docs/loki/<LOKI_VERSION>/setup/install/helm/install-scalable/). Supply the Helm chart with your object storage authentication details.
23
+
1. Install Loki on Kubernetes in simple scalable mode, using the recommended [Helm chart](https://grafana.com/docs/loki/<LOKI_VERSION>/setup/install/helm/install-scalable/).
24
+
Supply the Helm chart with your object storage authentication details.
- There are [examples](https://grafana.com/docs/loki/<LOKI_VERSION>/configure/examples/) for specific Object Storage providers that you can modify.
27
+
- There are [examples](https://grafana.com/docs/loki/<LOKI_VERSION>/configure/examples/) for specific object storage providers that you can modify.
26
28
1. Deploy [Grafana Alloy](https://grafana.com/docs/alloy/latest/) to collect logs from your applications.
27
-
1. On Kubernetes, deploy Grafana Alloy using the Helm chart. Configure Grafana Alloy to scrape logs from your Kubernetes cluster, and add your Loki endpoint details. See the following section for an example Grafana Alloy configuration file.
28
-
1. Add [labels](https://grafana.com/docs/loki/<LOKI_VERSION>/get-started/labels/) to your logs following our [best practices](https://grafana.com/docs/loki/<LOKI_VERSION>/get-started/labels/bp-labels/). Most Loki users start by adding labels that describe where the logs are coming from (region, cluster, environment, etc.).
29
+
1. On Kubernetes, deploy Grafana Alloy using the Helm chart.
30
+
Configure Grafana Alloy to scrape logs from your Kubernetes cluster, and add your Loki endpoint details.
31
+
Refer to the following section for an example Grafana Alloy configuration file.
32
+
1. Add [labels](https://grafana.com/docs/loki/<LOKI_VERSION>/get-started/labels/) to your logs following our [best practices](https://grafana.com/docs/loki/<LOKI_VERSION>/get-started/labels/bp-labels/).
33
+
Most Loki users start by adding labels that describe where the logs are coming from such as region, cluster, or environment.
29
34
1. Deploy [Grafana](https://grafana.com/docs/grafana/latest/setup-grafana/) or [Grafana Cloud](https://grafana.com/docs/grafana-cloud/quickstart/) and configure a [Loki data source](https://grafana.com/docs/grafana/latest/datasources/loki/configure-loki-data-source/).
30
-
1. Select the [Explore feature](https://grafana.com/docs/grafana/latest/explore/) in the Grafana main menu. To [view logs in Explore](https://grafana.com/docs/grafana/latest/explore/logs-integration/):
31
-
1. Pick a time range.
32
-
1. Choose the Loki data source.
33
-
1. Use [LogQL](https://grafana.com/docs/loki/<LOKI_VERSION>/query/) in the [query editor](https://grafana.com/docs/grafana/latest/datasources/loki/query-editor/), use the Builder view to explore your labels, or select from sample pre-configured queries using the **Kick start your query** button.
35
+
1. Select the [Explore feature](https://grafana.com/docs/grafana/latest/explore/) in the Grafana main menu.
36
+
To [view logs in Explore](https://grafana.com/docs/grafana/latest/explore/logs-integration/):
37
+
1. Pick a time range.
38
+
1. Choose the Loki data source.
39
+
1. Use [LogQL](https://grafana.com/docs/loki/<LOKI_VERSION>/query/) in the [query editor](https://grafana.com/docs/grafana/latest/datasources/loki/query-editor/), use the Builder view to explore your labels, or select from sample pre-configured queries using the **Kick start your query** button.
34
40
35
41
**Next steps:** Learn more about the Loki query language, [LogQL](https://grafana.com/docs/loki/<LOKI_VERSION>/query/).
36
42
@@ -46,115 +52,126 @@ This sample `values.yaml` file is configured to:
46
52
47
53
1. Install Loki with the [Helm chart](https://grafana.com/docs/loki/<LOKI_VERSION>/setup/install/helm/install-scalable/).
48
54
49
-
1. Deploy either Grafana Alloy or the Grafana Agent, using the Helm chart:
0 commit comments