From f10349f3929cc069412e13463d506e04eaab0e9d Mon Sep 17 00:00:00 2001 From: "loki-gh-app[bot]" <160051081+loki-gh-app[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 08:25:32 -0500 Subject: [PATCH] docs: add curl commands (backport release-3.3.x) (#15623) Co-authored-by: J Stickler --- docs/sources/get-started/quick-start.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/sources/get-started/quick-start.md b/docs/sources/get-started/quick-start.md index 3415aecd7ea0a..2bf3af714da45 100644 --- a/docs/sources/get-started/quick-start.md +++ b/docs/sources/get-started/quick-start.md @@ -92,11 +92,32 @@ This quickstart assumes you are running Linux. 2. Download `loki-config.yaml`, `alloy-local-config.yaml`, and `docker-compose.yaml`: + + {{< tabs >}} + {{< tab-content name="wget" >}} ```bash wget https://raw.githubusercontent.com/grafana/loki/main/examples/getting-started/loki-config.yaml -O loki-config.yaml wget https://raw.githubusercontent.com/grafana/loki/main/examples/getting-started/alloy-local-config.yaml -O alloy-local-config.yaml wget https://raw.githubusercontent.com/grafana/loki/main/examples/getting-started/docker-compose.yaml -O docker-compose.yaml ``` + {{< /tab-content >}} + {{< tab-content name="curl" >}} + ```bash + curl https://raw.githubusercontent.com/grafana/loki/main/examples/getting-started/loki-config.yaml --output loki-config.yaml + curl https://raw.githubusercontent.com/grafana/loki/main/examples/getting-started/alloy-local-config.yaml --output alloy-local-config.yaml + curl https://raw.githubusercontent.com/grafana/loki/main/examples/getting-started/docker-compose.yaml --output docker-compose.yaml + ``` + {{< /tab-content >}} + {{< /tabs >}} + + +{{< docs/ignore >}} + ```bash + wget https://raw.githubusercontent.com/grafana/loki/main/examples/getting-started/loki-config.yaml -O loki-config.yaml + wget https://raw.githubusercontent.com/grafana/loki/main/examples/getting-started/alloy-local-config.yaml -O alloy-local-config.yaml + wget https://raw.githubusercontent.com/grafana/loki/main/examples/getting-started/docker-compose.yaml -O docker-compose.yaml + ``` +{{< /docs/ignore >}} 3. Deploy the sample Docker image.