Skip to content

Commit 24c20ad

Browse files
Cortex-DMSDonna-Marie Smith
andauthored
Updated default recommended install locations for Promtail and Loki (#163)
Updated default recommended install locations for Promtail and Loki --------- Co-authored-by: Donna-Marie Smith <[email protected]>
1 parent a6e73f2 commit 24c20ad

File tree

8 files changed

+23
-23
lines changed

8 files changed

+23
-23
lines changed

content/en/docs/2024.9/Guides/upgrade-observability/cloud/grafana/upgrade-promtail.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ These steps will need to be performed on all application servers that host a Pro
1717

1818
1. Log in to the application server.
1919
1. Run Windows PowerShell as Administrator.
20-
1. Change the directory to the folder where Promtail is running from, e.g. `cd C:\Promtail`.
20+
1. Change the directory to the folder where Promtail is running from, e.g. `cd C:\Program Data\Cortex\Observability\Promtail`.
2121
1. Remove the current Promtail installation by executing the following command:
2222

2323
``` powershell
@@ -26,7 +26,7 @@ These steps will need to be performed on all application servers that host a Pro
2626
2727
1. Click *Yes* when prompted for confirmation that you wish to remove the service.
2828
1. Click *OK* when the successful removal of the Promtail service is confirmed.
29-
1. Open a File Explorer and navigate to the folder where Promtail was running from, e.g. `C:\Promtail`
29+
1. Open a File Explorer and navigate to the folder where Promtail was running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`
3030
1. Delete the following files from the directory:
3131
3232
* Install-Promtail.ps1
@@ -38,17 +38,17 @@ These steps will need to be performed on all application servers that host a Pro
3838
* Stop-Promtail.ps1
3939
4040
1. In File Explorer, navigate to the extracted `promtail-windows-amd64.exe` folder created as part of [Make Artefacts Available][].
41-
1. Copy the `promtail-windows-amd64.exe` file into the folder that Promtail was previously running from, e.g. `C:\Promtail`.
41+
1. Copy the `promtail-windows-amd64.exe` file into the folder that Promtail was previously running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`.
4242
1. In File Explorer, navigate to the extracted `Promtail.Install` folder created as part of [Make Artefacts Available][].
43-
1. Copy the contents of this location into the folder that Promtail was previously running from, e.g. `C:\Promtail`.
43+
1. Copy the contents of this location into the folder that Promtail was previously running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`.
4444
1. Open `promtail-local-config.yaml` in a text editor:
4545
4646
* Update the *filename* property under *positions* to be the value found in the [backed up][] version.
4747
* Update the *url* property under *clients* to be the value found in the [backed up][] version.
4848
* Save the new `promtail-local-config.yaml` file.
4949
5050
1. Run Windows PowerShell as Administrator.
51-
1. Change the directory to the folder where the Promtail files have been copied to, e.g. `cd C:\Promtail`.
51+
1. Change the directory to the folder where the Promtail files have been copied to, e.g. `cd C:\Program Data\Cortex\Observability\Promtail`.
5252
1. Install Promtail by executing the following command:
5353
5454
``` powershell

content/en/docs/2024.9/Guides/upgrade-observability/on-premise/grafana/upgrade-loki.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This guide describes how to upgrade the Loki installation. Please ensure that th
1313

1414
1. Log in to the server hosting your Loki service.
1515
1. Run Windows PowerShell as Administrator.
16-
1. Change the directory to the folder where Loki is running from, e.g. `cd C:\Loki`.
16+
1. Change the directory to the folder where Loki is running from, e.g. `cd C:\Program Data\Cortex\Observability\Loki`.
1717
1. Remove the current Loki installation by executing the following command:
1818

1919
``` powershell
@@ -22,7 +22,7 @@ This guide describes how to upgrade the Loki installation. Please ensure that th
2222
2323
1. Click *Yes* when prompted for confirmation that you wish to remove the service.
2424
1. Click *OK* when the successful removal of the Loki service is confirmed.
25-
1. Open a File Explorer and navigate to the folder where Loki was running from, e.g. `C:\Loki`.
25+
1. Open a File Explorer and navigate to the folder where Loki was running from, e.g. `C:\Program Data\Cortex\Observability\Loki`.
2626
1. Delete the following files from the directory:
2727
2828
* Install-Loki.ps1
@@ -34,9 +34,9 @@ This guide describes how to upgrade the Loki installation. Please ensure that th
3434
* Stop-Loki.ps1
3535
3636
1. In File Explorer, navigate to the extracted `loki-windows-amd64.exe` folder created as part of [Make Artefacts Available][].
37-
1. Copy the `loki-windows-amd64.exe` file into the folder that Loki was previously running from, e.g. `C:\Loki`.
37+
1. Copy the `loki-windows-amd64.exe` file into the folder that Loki was previously running from, e.g. `C:\Program Data\Cortex\Observability\Loki`.
3838
1. In File Explorer, navigate to the extracted `Grafana.Loki.Install` folder created as part of [Make Artefacts Available][].
39-
1. Copy the contents of this location into the folder that Loki was previously running from, e.g. `C:\Loki`.
39+
1. Copy the contents of this location into the folder that Loki was previously running from, e.g. `C:\Program Data\Cortex\Observability\Loki`.
4040
1. Open the new `loki-local-config.yaml` file in a text editor and compare against the [backed up][] version. If there are differences between the two files in the *schema_config* > *configs* section:
4141
4242
1. In the new file, change the date next to `- from` to be today's date.
@@ -66,7 +66,7 @@ This guide describes how to upgrade the Loki installation. Please ensure that th
6666
1. Save the new `loki-local-config.yaml` file.
6767
6868
1. Run Windows PowerShell as Administrator.
69-
1. Change the directory to the folder where the Loki files have been copied to, e.g. `cd C:\Loki`.
69+
1. Change the directory to the folder where the Loki files have been copied to, e.g. `cd C:\Program Data\Cortex\Observability\Loki`.
7070
1. Install Loki by executing the following command:
7171
7272
``` powershell

content/en/docs/2024.9/Guides/upgrade-observability/on-premise/grafana/upgrade-promtail.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ These steps will need to be performed on all application servers that host a Pro
1717

1818
1. Log in to the application server.
1919
1. Run Windows PowerShell as Administrator.
20-
1. Change the directory to the folder where Promtail is running from, e.g. `cd C:\Promtail`.
20+
1. Change the directory to the folder where Promtail is running from, e.g. `cd C:\Program Data\Cortex\Observability\Promtail`.
2121
1. Remove the current Promtail installation by executing the following command:
2222

2323
``` powershell
@@ -26,7 +26,7 @@ These steps will need to be performed on all application servers that host a Pro
2626
2727
1. Click *Yes* when prompted for confirmation that you wish to remove the service.
2828
1. Click *OK* when the successful removal of the Promtail service is confirmed.
29-
1. Open a File Explorer and navigate to the folder where Promtail was running from, e.g. `C:\Promtail`
29+
1. Open a File Explorer and navigate to the folder where Promtail was running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`
3030
1. Delete the following files from the directory:
3131
3232
* Install-Promtail.ps1
@@ -38,17 +38,17 @@ These steps will need to be performed on all application servers that host a Pro
3838
* Stop-Promtail.ps1
3939
4040
1. In File Explorer, navigate to the extracted `promtail-windows-amd64.exe` folder created as part of [Make Artefacts Available][].
41-
1. Copy the `promtail-windows-amd64.exe` file into the folder that Promtail was previously running from, e.g. `C:\Promtail`.
41+
1. Copy the `promtail-windows-amd64.exe` file into the folder that Promtail was previously running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`.
4242
1. In File Explorer, navigate to the extracted `Promtail.Install` folder created as part of [Make Artefacts Available][].
43-
1. Copy the contents of this location into the folder that Promtail was previously running from, e.g. `C:\Promtail`.
43+
1. Copy the contents of this location into the folder that Promtail was previously running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`.
4444
1. Open the new `promtail-local-config.yaml` in a text editor:
4545
4646
* Update the *filename* property under *positions* to be the value found in the [backed up][] version.
4747
* Update the *url* property under *clients* to be the value found in the [backed up][] version.
4848
* Save the new `promtail-local-config.yaml` file.
4949
5050
1. Run Windows PowerShell as Administrator.
51-
1. Change the directory to the folder where the Promtail files have been copied to, e.g. `cd C:\Promtail`.
51+
1. Change the directory to the folder where the Promtail files have been copied to, e.g. `cd C:\Program Data\Cortex\Observability\Promtail`.
5252
1. Install Promtail by executing the following command:
5353
5454
``` powershell

content/en/docs/2024.9/getting-started/cloud/add-observability-to-innovation/Grafana/install-promtail/configure-promtail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This guide describes how to configure Promtail on the Application Server(s).
2323
### Set the positions.yaml File Path
2424

2525
1. Open the `promtail-local-config.yaml` configuration file, which is located in the folder alongside the `promtail-windows-amd64.exe` file.
26-
1. Set the `filename` in the `positions` section to the location where you want the `positions.yaml` file to be created on Promtail startup.
26+
1. Set the `filename` in the `positions` section to the location where you want the `positions.yaml` file to be created on Promtail startup, e.g. `C:/Program Data/Cortex/Observability/Promtail/Positions.yaml`.
2727
1. Create all the folders of the path specified in the previous step.
2828
1. Save the file.
2929

content/en/docs/2024.9/getting-started/cloud/add-observability-to-innovation/Grafana/install-promtail/install-promtail.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ This guide describes how to install Promtail on the Application Server(s). Pleas
1212
## Install Promtail
1313

1414
1. Download [Promtail 3.0.0][] archive.
15-
1. Extract content of the downloaded archive to a suitable location, e.g. `C:\Promtail`.
15+
1. Extract content of the downloaded archive to a suitable location, e.g. `C:\Program Data\Cortex\Observability\Promtail`.
1616
1. Download the [Promtail Install.zip][] archive and extract its contents alongside the previously extracted Promtail `promtail-windows-amd64.exe`.
1717
This archive contains the `promtail-local-config.yaml` configuration file, [NSSM][] (the Non-Sucking Service Manager program) and PowerShell scripts to help manage Promtail as a Windows service.
1818
1. Run Windows PowerShell as Administrator
19-
1. Change the location to where all the files were extracted to.
19+
1. Change the location to where all the files were extracted to in step 2, e.g. `cd "C:\Program Data\Cortex\Observability\Promtail"`.
2020
1. Execute the `.\Install-Promtail.ps1` command to install the downloaded `promtail-windows-amd64.exe` as a service.
2121

2222
## Next Steps?

content/en/docs/2024.9/getting-started/on-premise/add-observability-to-innovation/Grafana/install-loki/install-loki.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ This guide describes how to install Grafana Loki on the Web Application Server.
1212
## Install Grafana Loki
1313

1414
1. Download [Grafana Loki 3.0.0][] archive.
15-
1. Extract content of the downloaded archive to a suitable location, e.g. `C:\Loki`.
15+
1. Extract content of the downloaded archive to a suitable location, e.g. `C:\Program Data\Cortex\Observability\Loki`.
1616
1. Download the [Grafana Loki Install.zip][] archive and extract its contents alongside the previously extracted Grafana Loki `loki-windows-amd64.exe`.
1717
This archive contains the `loki-local-config.yaml` configuration file, [NSSM][] (the Non-Sucking Service Manager program) and PowerShell scripts to help manage Grafana Loki as a Windows service.
1818
1. Run Windows PowerShell as Administrator.
19-
1. Change the location to where all the files were extracted to.
19+
1. Change the location to where all the files were extracted to in step 2, e.g. `cd "C:\Program Data\Cortex\Observability\Loki"`.
2020
1. Execute the `.\Install-Loki.ps1` command to install the downloaded Grafana Loki `loki-windows-amd64.exe` as a service.
2121
1. Execute the `.\Start-Loki.ps1` command to start the Grafana Loki service.
2222

content/en/docs/2024.9/getting-started/on-premise/add-observability-to-innovation/Grafana/install-promtail/configure-promtail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To import the CA certificate:
4949
### Set the positions.yaml File Path
5050

5151
1. Open the `promtail-local-config.yaml` configuration file, which is located in the folder alongside the `promtail-windows-amd64.exe` file.
52-
1. Set the `filename` in the `positions` section to the location where you want the `positions.yaml` file to be created on Promtail startup.
52+
1. Set the `filename` in the `positions` section to the location where you want the `positions.yaml` file to be created on Promtail startup, e.g. `C:/Program Data/Cortex/Observability/Promtail/Positions.yaml`.
5353
1. Create all the folders of the path specified in the previous step.
5454
1. Save the file.
5555

content/en/docs/2024.9/getting-started/on-premise/add-observability-to-innovation/Grafana/install-promtail/install-promtail.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ This guide describes how to install Promtail on the Application Server(s). Pleas
1212
## Install Promtail
1313

1414
1. Download [Promtail 3.0.0][] archive.
15-
1. Extract content of the downloaded archive to a suitable location, e.g. `C:\Promtail`.
15+
1. Extract content of the downloaded archive to a suitable location, e.g. `C:\Program Data\Cortex\Observability\Promtail`.
1616
1. Download the [Promtail Install.zip][] archive and extract its contents alongside the previously extracted Promtail `promtail-windows-amd64.exe`.
1717
This archive contains the `promtail-local-config.yaml` configuration file, [NSSM][] (the Non-Sucking Service Manager program) and PowerShell scripts to help manage Promtail as a Windows service.
1818
1. Run Windows PowerShell as Administrator
19-
1. Change the location to where all the files were extracted to.
19+
1. Change the location to where all the files were extracted to in step 2, e.g. `cd "C:\Program Data\Cortex\Observability\Promtail"`.
2020
1. Execute the `.\Install-Promtail.ps1` command to install the downloaded `promtail-windows-amd64.exe` as a service.
2121

2222
## Next Steps?

0 commit comments

Comments
 (0)