From 5fab4b0183b5b343ced434e08d59f53ed9ad332d Mon Sep 17 00:00:00 2001 From: J Stickler Date: Thu, 24 Oct 2024 15:20:08 -0400 Subject: [PATCH] docs: Update _index.md #fix typos (#14608) (#14611) Co-authored-by: Piyush Bhaskar <102078527+Piyush-r-bhaskar@users.noreply.github.com> --- docs/sources/get-started/_index.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/sources/get-started/_index.md b/docs/sources/get-started/_index.md index 4483ac2f15ac6..fab78dfc0d167 100644 --- a/docs/sources/get-started/_index.md +++ b/docs/sources/get-started/_index.md @@ -9,7 +9,7 @@ description: Provides an overview of the steps for implementing Grafana Loki to {{< youtube id="1uk8LtQqsZQ" >}} -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. +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. Because all Loki implementations are unique, the installation process is different for every customer. But there are some steps in the process that @@ -25,7 +25,7 @@ To collect logs and view your log data generally involves the following steps: - There are [examples](https://grafana.com/docs/loki//configure/examples/) for specific Object Storage providers that you can modify. 1. Deploy [Grafana Alloy](https://grafana.com/docs/alloy/latest/) to collect logs from your applications. 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. - 1. Add [labels](https://grafana.com/docs/loki//get-started/labels/) to your logs following our [best practices](https://grafana.com/docs/loki//get-started/labels/bp-labels/). Most Loki users start by adding labels which describe where the logs are coming from (region, cluster, environment, etc.). + 1. Add [labels](https://grafana.com/docs/loki//get-started/labels/) to your logs following our [best practices](https://grafana.com/docs/loki//get-started/labels/bp-labels/). Most Loki users start by adding labels that describe where the logs are coming from (region, cluster, environment, etc.). 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/). 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/): 1. Pick a time range. @@ -36,7 +36,13 @@ To collect logs and view your log data generally involves the following steps: ## Example Grafana Agent configuration file to ship Kubernetes Pod logs to Loki -To deploy Grafana Agent to collect Pod logs from your Kubernetes cluster and ship them to Loki, you an use the Grafana Agent Helm chart, and a `values.yaml` file. +To deploy Grafana Alloy or Agent to collect Pod logs from your Kubernetes cluster and ship them to Loki, you can use a Helm chart, and a `values.yaml` file. + +This sample `values.yaml` file is configured to: + +- Install Grafana Agent to discover Pod logs. +- Add `container` and `pod` labels to the logs. +- Push the logs to your Loki cluster using the tenant ID `cloud`. 1. Install Loki with the [Helm chart](https://grafana.com/docs/loki//setup/install/helm/install-scalable/). 1. Deploy the Grafana Agent, using the [Grafana Agent Helm chart](https://grafana.com/docs/agent/latest/flow/setup/install/kubernetes/) and this example `values.yaml` file updating the value for `forward_to = [loki.write.endpoint.receiver]`: