From b7c80e4a849404624d9bb862f4be71821b233c2c Mon Sep 17 00:00:00 2001 From: Clayton Cornell Date: Fri, 15 Mar 2024 06:48:36 -0700 Subject: [PATCH] Repalce agent with alloy in get started and run topics --- docs/sources/get-started/install/_index.md | 4 +-- docs/sources/get-started/install/ansible.md | 29 +++++++++---------- docs/sources/get-started/install/binary.md | 6 ++-- docs/sources/get-started/install/chef.md | 14 ++++----- docs/sources/get-started/install/docker.md | 16 +++++----- .../sources/get-started/install/kubernetes.md | 10 +++---- docs/sources/get-started/install/linux.md | 14 ++++----- docs/sources/get-started/install/macos.md | 8 ++--- docs/sources/get-started/install/puppet.md | 22 +++++++------- docs/sources/get-started/install/windows.md | 14 ++++----- docs/sources/get-started/run/binary.md | 27 +++++++++-------- docs/sources/get-started/run/linux.md | 16 +++++----- docs/sources/get-started/run/macos.md | 10 +++---- 13 files changed, 93 insertions(+), 97 deletions(-) diff --git a/docs/sources/get-started/install/_index.md b/docs/sources/get-started/install/_index.md index 4ccae7825e..01df69dc9c 100644 --- a/docs/sources/get-started/install/_index.md +++ b/docs/sources/get-started/install/_index.md @@ -1,8 +1,8 @@ --- canonical: https://grafana.com/docs/alloy/latest/get-started/install/ -description: Learn how to install Grafana Agent Flow +description: Learn how to install Grafana Alloy menuTitle: Install -title: Install Grafana Agent Flow +title: Install Grafana Alloy weight: 50 --- diff --git a/docs/sources/get-started/install/ansible.md b/docs/sources/get-started/install/ansible.md index bbd8209f89..1b21165e90 100644 --- a/docs/sources/get-started/install/ansible.md +++ b/docs/sources/get-started/install/ansible.md @@ -19,23 +19,22 @@ You can use Ansible to install and manage {{< param "PRODUCT_NAME" >}} on Linux To add {{% param "PRODUCT_NAME" %}} to a host: -1. Create a file named `grafana-agent.yml` and add the following: +1. Create a file named `grafana-alloy.yml` and add the following: ```yaml - - name: Install Grafana Agent Flow + - name: Install Grafana Alloy hosts: all become: true tasks: - - name: Install Grafana Agent Flow + - name: Install Grafana Alloy ansible.builtin.include_role: - name: grafana.grafana.grafana_agent + name: grafana.grafana.grafana_alloy vars: - grafana_agent_mode: flow # Destination file name - grafana_agent_config_filename: config.river + grafana_alloy_config_filename: config.river # Local file to copy - grafana_agent_provisioned_config_file: "" - grafana_agent_flags_extra: + grafana_alloy_provisioned_config_file: "" + grafana_alloy_flags_extra: server.http.listen-addr: '0.0.0.0:12345' ``` @@ -45,7 +44,7 @@ To add {{% param "PRODUCT_NAME" %}} to a host: 1. Run the Ansible playbook. Open a terminal window and run the following command from the Ansible playbook directory. ```shell - ansible-playbook grafana-agent.yml + ansible-playbook grafana-alloy.yml ``` ## Validate @@ -53,21 +52,21 @@ To add {{% param "PRODUCT_NAME" %}} to a host: To verify that the {{< param "PRODUCT_NAME" >}} service on the target machine is `active` and `running`, open a terminal window and run the following command: ```shell -$ sudo systemctl status grafana-agent.service +$ sudo systemctl status grafana-alloy.service ``` If the service is `active` and `running`, the output should look similar to this: ``` -grafana-agent.service - Grafana Agent - Loaded: loaded (/etc/systemd/system/grafana-agent.service; enabled; vendor preset: enabled) +grafana-alloy.service - Grafana Alloy + Loaded: loaded (/etc/systemd/system/grafana-alloy.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2022-07-20 09:56:15 UTC; 36s ago -Main PID: 3176 (agent-linux-amd) +Main PID: 3176 (alloy-linux-amd) Tasks: 8 (limit: 515) Memory: 92.5M CPU: 380ms - CGroup: /system.slice/grafana-agent.service - └─3176 /usr/local/bin/agent-linux-amd64 --config.file=/etc/grafana-cloud/agent-config.yaml + CGroup: /system.slice/grafana-alloy.service + └─3176 /usr/local/bin/alloy-linux-amd64 --config.file=/etc/grafana-cloud/alloy-config.yaml ``` ## Next steps diff --git a/docs/sources/get-started/install/binary.md b/docs/sources/get-started/install/binary.md index d58d142742..9f418dad78 100644 --- a/docs/sources/get-started/install/binary.md +++ b/docs/sources/get-started/install/binary.md @@ -1,8 +1,8 @@ --- canonical: https://grafana.com/docs/alloy/latest/get-started/install/binary/ -description: Learn how to install Grafana Agent Flow as a standalone binary +description: Learn how to install Grafana Alloy as a standalone binary menuTitle: Standalone -title: Install Grafana Agent Flow as a standalone binary +title: Install Grafana Alloy as a standalone binary weight: 600 --- @@ -23,7 +23,7 @@ To download {{< param "PRODUCT_NAME" >}} as a standalone binary, perform the fol 1. Scroll down to the **Assets** section. -1. Download the `grafana-agent` zip file that matches your operating system and machine's architecture. +1. Download the `grafana-alloy` zip file that matches your operating system and machine's architecture. 1. Extract the package contents into a directory. diff --git a/docs/sources/get-started/install/chef.md b/docs/sources/get-started/install/chef.md index 1f17d1c569..cabbbebfaf 100644 --- a/docs/sources/get-started/install/chef.md +++ b/docs/sources/get-started/install/chef.md @@ -66,26 +66,26 @@ To add {{< param "PRODUCT_NAME" >}} to a host: end ``` -1. Add the following resources to install and enable the `grafana-agent-flow` service: +1. Add the following resources to install and enable the `grafana-alloy` service: ```ruby - package 'grafana-agent-flow' do + package 'grafana-alloy' do action :install flush_cache [ :before ] if platform_family?('amazon', 'rhel', 'fedora') - notifies :restart, 'service[grafana-agent-flow]', :delayed + notifies :restart, 'service[grafana-alloy]', :delayed end - service 'grafana-agent-flow' do - service_name 'grafana-agent-flow' + service 'grafana-alloy' do + service_name 'grafana-alloy' action [:enable, :start] end ``` ## Configuration -The `grafana-agent-flow` package installs a default configuration file that doesn't send telemetry anywhere. +The `grafana-alloy` package installs a default configuration file that doesn't send telemetry anywhere. -The default configuration file location is `/etc/grafana-agent-flow.river`. You can replace this file with your own configuration or create a new configuration file for the service to use. +The default configuration file location is `/etc/grafana-alloy.river`. You can replace this file with your own configuration or create a new configuration file for the service to use. ## Next steps diff --git a/docs/sources/get-started/install/docker.md b/docs/sources/get-started/install/docker.md index 8db56e706b..53e8ad270e 100644 --- a/docs/sources/get-started/install/docker.md +++ b/docs/sources/get-started/install/docker.md @@ -31,11 +31,10 @@ To run {{< param "PRODUCT_NAME" >}} as a Linux Docker container, run the followi ```shell docker run \ - -e AGENT_MODE=flow \ - -v :/etc/agent/config.river \ + -v :/etc/alloy/config.river \ -p 12345:12345 \ - grafana/agent:latest \ - run --server.http.listen-addr=0.0.0.0:12345 /etc/agent/config.river + grafana/alloy:latest \ + run --server.http.listen-addr=0.0.0.0:12345 /etc/alloy/config.river ``` Replace the following: @@ -56,11 +55,10 @@ To run {{< param "PRODUCT_NAME" >}} as a Windows Docker container, run the follo ```shell docker run \ - -e AGENT_MODE=flow \ - -v :C:\etc\grafana-agent\config.river \ + -v :C:\etc\grafana-alloy\config.river \ -p 12345:12345 \ - grafana/agent:latest-windows \ - run --server.http.listen-addr=0.0.0.0:12345 C:\etc\grafana-agent\config.river + grafana/alloy:latest-windows \ + run --server.http.listen-addr=0.0.0.0:12345 C:\etc\grafana-alloy\config.river ``` Replace the following: @@ -83,4 +81,4 @@ To verify that {{< param "PRODUCT_NAME" >}} is running successfully, navigate to [Windows containers]: #run-a-windows-docker-container [Docker]: https://docker.io [run]: ../../../reference/cli/run/ -[UI]: ../../../tasks/debug/#grafana-agent-flow-ui +[UI]: ../../../tasks/debug/#grafana-alloy-ui diff --git a/docs/sources/get-started/install/kubernetes.md b/docs/sources/get-started/install/kubernetes.md index 68f93fb150..25f38b1fab 100644 --- a/docs/sources/get-started/install/kubernetes.md +++ b/docs/sources/get-started/install/kubernetes.md @@ -1,8 +1,8 @@ --- canonical: https://grafana.com/docs/alloy/latest/get-started/install/kubernetes/ -description: Learn how to deploy Grafana Agent Flow on Kubernetes +description: Learn how to deploy Grafana Alloy on Kubernetes menuTitle: Kubernetes -title: Deploy Grafana Agent Flow on Kubernetes +title: Deploy Grafana Alloy on Kubernetes weight: 200 --- @@ -35,12 +35,12 @@ To deploy {{< param "PRODUCT_ROOT_NAME" >}} on Kubernetes using Helm, run the fo 1. Install {{< param "PRODUCT_ROOT_NAME" >}}: ```shell - helm install grafana/grafana-agent + helm install grafana/grafana-alloy ``` Replace the following: - - _``_: The name to use for your {{< param "PRODUCT_ROOT_NAME" >}} installation, such as `grafana-agent-flow`. + - _``_: The name to use for your {{< param "PRODUCT_ROOT_NAME" >}} installation, such as `grafana-alloy`. For more information on the {{< param "PRODUCT_ROOT_NAME" >}} Helm chart, refer to the Helm chart documentation on [Artifact Hub][]. @@ -49,5 +49,5 @@ For more information on the {{< param "PRODUCT_ROOT_NAME" >}} Helm chart, refer - [Configure {{< param "PRODUCT_NAME" >}}][Configure] [Helm]: https://helm.sh -[Artifact Hub]: https://artifacthub.io/packages/helm/grafana/grafana-agent +[Artifact Hub]: https://artifacthub.io/packages/helm/grafana/grafana-alloy [Configure]: ../../../tasks/configure/configure-kubernetes/ diff --git a/docs/sources/get-started/install/linux.md b/docs/sources/get-started/install/linux.md index a2ab220a67..20c99a10c6 100644 --- a/docs/sources/get-started/install/linux.md +++ b/docs/sources/get-started/install/linux.md @@ -57,15 +57,15 @@ sslcacert=/etc/pki/tls/certs/ca-bundle.crt' | sudo tee /etc/yum.repos.d/grafana. {{< code >}} ```debian-ubuntu - sudo apt-get install grafana-agent-flow + sudo apt-get install grafana-alloy ``` ```rhel-fedora - sudo dnf install grafana-agent-flow + sudo dnf install grafana-alloy ``` ```suse-opensuse - sudo zypper install grafana-agent-flow + sudo zypper install grafana-alloy ``` {{< /code >}} @@ -76,22 +76,22 @@ To uninstall {{< param "PRODUCT_NAME" >}} on Linux, run the following commands i 1. Stop the systemd service for {{< param "PRODUCT_NAME" >}}. ```All-distros - sudo systemctl stop grafana-agent-flow + sudo systemctl stop grafana-alloy ``` 1. Uninstall {{< param "PRODUCT_NAME" >}}. {{< code >}} ```debian-ubuntu - sudo apt-get remove grafana-agent-flow + sudo apt-get remove grafana-alloy ``` ```rhel-fedora - sudo dnf remove grafana-agent-flow + sudo dnf remove grafana-alloy ``` ```suse-opensuse - sudo zypper remove grafana-agent-flow + sudo zypper remove grafana-alloy ``` {{< /code >}} diff --git a/docs/sources/get-started/install/macos.md b/docs/sources/get-started/install/macos.md index f151f0fd6a..56720b0574 100644 --- a/docs/sources/get-started/install/macos.md +++ b/docs/sources/get-started/install/macos.md @@ -33,7 +33,7 @@ To install {{< param "PRODUCT_NAME" >}} on macOS, run the following commands in 1. Install {{< param "PRODUCT_NAME" >}}: ```shell - brew install grafana-agent-flow + brew install grafana-alloy ``` ## Upgrade @@ -43,13 +43,13 @@ To upgrade {{< param "PRODUCT_NAME" >}} on macOS, run the following commands in 1. Upgrade {{< param "PRODUCT_NAME" >}}: ```shell - brew upgrade grafana-agent-flow + brew upgrade grafana-alloy ``` 1. Restart {{< param "PRODUCT_NAME" >}}: ```shell - brew services restart grafana-agent-flow + brew services restart grafana-alloy ``` ## Uninstall @@ -57,7 +57,7 @@ To upgrade {{< param "PRODUCT_NAME" >}} on macOS, run the following commands in To uninstall {{< param "PRODUCT_NAME" >}} on macOS, run the following command in a terminal window: ```shell -brew uninstall grafana-agent-flow +brew uninstall grafana-alloy ``` ## Next steps diff --git a/docs/sources/get-started/install/puppet.md b/docs/sources/get-started/install/puppet.md index 021221ab45..f4daa7de76 100644 --- a/docs/sources/get-started/install/puppet.md +++ b/docs/sources/get-started/install/puppet.md @@ -1,8 +1,8 @@ --- canonical: https://grafana.com/docs/alloy/latest/get-started/install/puppet/ -description: Learn how to install Grafana Agent Flow with Puppet +description: Learn how to install Grafana Alloy with Puppet menuTitle: Puppet -title: Install Grafana Agent Flow with Puppet +title: Install Grafana Alloy with Puppet weight: 560 --- @@ -49,13 +49,13 @@ To add {{< param "PRODUCT_NAME" >}} to a host: id => 'B53AE77BADB630A683046005963FA27710458545', source => 'https://apt.grafana.com/gpg.key', }, - } -> package { 'grafana-agent-flow': + } -> package { 'grafana-alloy': require => Exec['apt_update'], - } -> service { 'grafana-agent-flow': + } -> service { 'grafana-alloy': ensure => running, - name => 'grafana-agent-flow', + name => 'grafana-alloy', enable => true, - subscribe => Package['grafana-agent-flow'], + subscribe => Package['grafana-alloy'], } } 'redhat': { @@ -68,12 +68,12 @@ To add {{< param "PRODUCT_NAME" >}} to a host: enabled => '1', gpgcheck => '1', target => '/etc/yum.repo.d/grafana.repo', - } -> package { 'grafana-agent-flow': - } -> service { 'grafana-agent-flow': + } -> package { 'grafana-alloy': + } -> service { 'grafana-alloy': ensure => running, - name => 'grafana-agent-flow', + name => 'grafana-alloy', enable => true, - subscribe => Package['grafana-agent-flow'], + subscribe => Package['grafana-alloy'], } } default: { @@ -86,7 +86,7 @@ To add {{< param "PRODUCT_NAME" >}} to a host: 1. To use this class in a module, add the following line to the module's `init.pp` file: ```ruby - include grafana_agent::grafana_agent_flow + include grafana_alloy::grafana_alloy ``` ## Configuration diff --git a/docs/sources/get-started/install/windows.md b/docs/sources/get-started/install/windows.md index ba827e3c46..a1df210fee 100644 --- a/docs/sources/get-started/install/windows.md +++ b/docs/sources/get-started/install/windows.md @@ -18,13 +18,13 @@ To do a standard graphical install of {{< param "PRODUCT_NAME" >}} on Windows, p 1. Scroll down to the **Assets** section. -1. Download the file called `grafana-agent-flow-installer.exe.zip`. +1. Download the file called `grafana-alloy-installer.exe.zip`. 1. Unzip the downloaded file. -1. Double-click on `grafana-agent-installer.exe` to install {{< param "PRODUCT_NAME" >}}. +1. Double-click on `grafana-alloy-installer.exe` to install {{< param "PRODUCT_NAME" >}}. -{{< param "PRODUCT_NAME" >}} is installed into the default directory `C:\Program Files\Grafana Agent Flow`. +{{< param "PRODUCT_NAME" >}} is installed into the default directory `C:\Program Files\Grafana Alloy`. ## Silent install @@ -34,7 +34,7 @@ To do a silent install of {{< param "PRODUCT_NAME" >}} on Windows, perform the f 1. Scroll down to the **Assets** section. -1. Download the file called `grafana-agent-flow-installer.exe.zip`. +1. Download the file called `grafana-alloy-installer.exe.zip`. 1. Unzip the downloaded file. @@ -57,10 +57,10 @@ To do a silent install of {{< param "PRODUCT_NAME" >}} on Windows, perform the f ## Service Configuration -{{< param "PRODUCT_NAME" >}} uses the Windows Registry `HKLM\Software\Grafana\Grafana Agent Flow` for service configuration. +{{< param "PRODUCT_NAME" >}} uses the Windows Registry `HKLM\Software\Grafana\Grafana Alloy` for service configuration. -* `Arguments` (Type `REG_MULTI_SZ`) Each value represents a binary argument for grafana-agent-flow binary. -* `Environment` (Type `REG_MULTI_SZ`) Each value represents a environment value `KEY=VALUE` for grafana-agent-flow binary. +* `Arguments` (Type `REG_MULTI_SZ`) Each value represents a binary argument for grafana-alloy binary. +* `Environment` (Type `REG_MULTI_SZ`) Each value represents a environment value `KEY=VALUE` for grafana-alloy binary. ## Uninstall diff --git a/docs/sources/get-started/run/binary.md b/docs/sources/get-started/run/binary.md index 8000ec6786..dfbfe9483b 100644 --- a/docs/sources/get-started/run/binary.md +++ b/docs/sources/get-started/run/binary.md @@ -15,7 +15,7 @@ If you [downloaded][InstallBinary] the standalone binary, you must run {{< param To start {{< param "PRODUCT_NAME" >}} on Linux, macOS, or FreeBSD, run the following command in a terminal window: ```shell -AGENT_MODE=flow run + run ``` Replace the following: @@ -28,7 +28,6 @@ Replace the following: To start {{< param "PRODUCT_NAME" >}} on Windows, run the following commands in a command prompt: ```cmd -set AGENT_MODE=flow run ``` @@ -45,26 +44,26 @@ You can set up and manage the standalone binary for {{< param "PRODUCT_NAME" >}} These steps assume you have a default systemd and {{< param "PRODUCT_NAME" >}} configuration. {{< /admonition >}} -1. To create a new user called `grafana-agent-flow` run the following command in a terminal window: +1. To create a new user called `grafana-alloy` run the following command in a terminal window: ```shell - sudo useradd --no-create-home --shell /bin/false grafana-agent-flow + sudo useradd --no-create-home --shell /bin/false grafana-alloy ``` -1. Create a service file in `/etc/systemd/system` called `grafana-agent-flow.service` with the following contents: +1. Create a service file in `/etc/systemd/system` called `grafana-alloy.service` with the following contents: ```systemd [Unit] Description=Vendor-neutral programmable observability pipelines. - Documentation=https://grafana.com/docs/agent/latest/flow/ + Documentation=https://grafana.com/docs/alloy/ Wants=network-online.target After=network-online.target [Service] Restart=always - User=grafana-agent-flow + User=grafana-alloy Environment=HOSTNAME=%H - EnvironmentFile=/etc/default/grafana-agent-flow + EnvironmentFile=/etc/default/grafana-alloy WorkingDirectory= ExecStart= run $CUSTOM_ARGS --storage.path= $CONFIG_FILE ExecReload=/usr/bin/env kill -HUP $MAINPID @@ -78,20 +77,20 @@ These steps assume you have a default systemd and {{< param "PRODUCT_NAME" >}} c Replace the following: * _``_: The path to the {{< param "PRODUCT_NAME" >}} binary file. - * _``_: The path to a working directory, for example `/var/lib/grafana-agent-flow`. + * _``_: The path to a working directory, for example `/var/lib/grafana-alloy`. -1. Create an environment file in `/etc/default/` called `grafana-agent-flow` with the following contents: +1. Create an environment file in `/etc/default/` called `grafana-alloy` with the following contents: ```shell ## Path: - ## Description: Grafana Agent Flow settings + ## Description: Grafana Alloy settings ## Type: string ## Default: "" - ## ServiceRestart: grafana-agent-flow + ## ServiceRestart: grafana-alloy # - # Command line options for grafana-agent + # Command line options for grafana-alloy # - # The configuration file holding the Grafana Agent Flow configuration. + # The configuration file holding the Grafana Alloy configuration. CONFIG_FILE="" # User-defined arguments to pass to the run command. diff --git a/docs/sources/get-started/run/linux.md b/docs/sources/get-started/run/linux.md index 0fb7873d69..7c31298539 100644 --- a/docs/sources/get-started/run/linux.md +++ b/docs/sources/get-started/run/linux.md @@ -1,8 +1,8 @@ --- canonical: https://grafana.com/docs/alloy/latest/get-started/run/linux/ -description: Learn how to run Grafana Agent Flow on Linux +description: Learn how to run Grafana Alloy on Linux menuTitle: Linux -title: Run Grafana Agent Flow on Linux +title: Run Grafana Alloy on Linux weight: 300 --- @@ -15,13 +15,13 @@ weight: 300 To start {{< param "PRODUCT_NAME" >}}, run the following command in a terminal window: ```shell -sudo systemctl start grafana-agent-flow +sudo systemctl start grafana-alloy ``` (Optional) To verify that the service is running, run the following command in a terminal window: ```shell -sudo systemctl status grafana-agent-flow +sudo systemctl status grafana-alloy ``` ## Configure {{% param "PRODUCT_NAME" %}} to start at boot @@ -29,7 +29,7 @@ sudo systemctl status grafana-agent-flow To automatically run {{< param "PRODUCT_NAME" >}} when the system starts, run the following command in a terminal window: ```shell -sudo systemctl enable grafana-agent-flow.service +sudo systemctl enable grafana-alloy.service ``` ## Restart {{% param "PRODUCT_NAME" %}} @@ -37,7 +37,7 @@ sudo systemctl enable grafana-agent-flow.service To restart {{< param "PRODUCT_NAME" >}}, run the following command in a terminal window: ```shell -sudo systemctl restart grafana-agent-flow +sudo systemctl restart grafana-alloy ``` ## Stop {{% param "PRODUCT_NAME" %}} @@ -45,7 +45,7 @@ sudo systemctl restart grafana-agent-flow To stop {{< param "PRODUCT_NAME" >}}, run the following command in a terminal window: ```shell -sudo systemctl stop grafana-agent-flow +sudo systemctl stop grafana-alloy ``` ## View {{% param "PRODUCT_NAME" %}} logs on Linux @@ -53,7 +53,7 @@ sudo systemctl stop grafana-agent-flow To view {{< param "PRODUCT_NAME" >}} log files, run the following command in a terminal window: ```shell -sudo journalctl -u grafana-agent-flow +sudo journalctl -u grafana-alloy ``` ## Next steps diff --git a/docs/sources/get-started/run/macos.md b/docs/sources/get-started/run/macos.md index df3ef5537c..e45993d41b 100644 --- a/docs/sources/get-started/run/macos.md +++ b/docs/sources/get-started/run/macos.md @@ -15,7 +15,7 @@ weight: 400 To start {{< param "PRODUCT_NAME" >}}, run the following command in a terminal window: ```shell -brew services start grafana-agent-flow +brew services start grafana-alloy ``` {{< param "PRODUCT_NAME" >}} automatically runs when the system starts. @@ -23,7 +23,7 @@ brew services start grafana-agent-flow (Optional) To verify that the service is running, run the following command in a terminal window: ```shell -brew services info grafana-agent-flow +brew services info grafana-alloy ``` ## Restart {{% param "PRODUCT_NAME" %}} @@ -31,7 +31,7 @@ brew services info grafana-agent-flow To restart {{< param "PRODUCT_NAME" >}}, run the following command in a terminal window: ```shell -brew services restart grafana-agent-flow +brew services restart grafana-alloy ``` ## Stop {{% param "PRODUCT_NAME" %}} @@ -39,12 +39,12 @@ brew services restart grafana-agent-flow To stop {{< param "PRODUCT_NAME" >}}, run the following command in a terminal window: ```shell -brew services stop grafana-agent-flow +brew services stop grafana-alloy ``` ## View {{% param "PRODUCT_NAME" %}} logs on macOS -By default, logs are written to `$(brew --prefix)/var/log/grafana-agent-flow.log` and `$(brew --prefix)/var/log/grafana-agent-flow.err.log`. +By default, logs are written to `$(brew --prefix)/var/log/grafana-alloy.log` and `$(brew --prefix)/var/log/grafana-alloy.err.log`. If you followed [Configure the {{< param "PRODUCT_NAME" >}} service][ConfigureService] and changed the path where logs are written, refer to your current copy of the {{< param "PRODUCT_NAME" >}} formula to locate your log files.