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
Copy file name to clipboardexpand all lines: docs/sources/tutorials/scenarios/monitor-docker-containers.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -40,19 +40,19 @@ cd alloy-scenarios/docker-monitoring
40
40
docker compose up -d
41
41
```
42
42
43
-
You can check the status of the containers by running the following command:
43
+
You can check the status of the Docker containers by running the following command.
44
44
45
45
```shell
46
46
docker ps
47
47
```
48
48
49
-
## View the {{% param "PRODUCT_NAME" %}} UI
49
+
## Monitor the health of your {{% param "PRODUCT_NAME" %}} deployment
50
50
51
51
To monitor the health of your {{< param "PRODUCT_NAME" >}} deployment, open your browser and navigate to [`http://localhost:12345`](http://localhost:12345).
52
52
53
53
Refer to [Debug Grafana Alloy](https://grafana.com/docs/alloy/latest/troubleshoot/debug/) for more information about the {{< param "PRODUCT_NAME" >}} UI.
54
54
55
-
## Use the Grafana UI
55
+
## Visualise your data
56
56
57
57
To create a [dashboard](https://grafana.com/docs/grafana/latest/getting-started/build-first-dashboard/#create-a-dashboard) to visualise your metrics and logs, open your browser and navigate to [`http://localhost:3000/dashboards`](http://localhost:3000/dashboards).
Copy file name to clipboardexpand all lines: docs/sources/tutorials/scenarios/monitor-logs-over-tcp.md
+13-7
Original file line number
Diff line number
Diff line change
@@ -36,19 +36,25 @@ cd alloy-scenarios/logs-tcp
36
36
docker compose up -d
37
37
```
38
38
39
-
## View the {{% param "PRODUCT_NAME" %}} UI
39
+
You can check the status of the Docker containers by running the following command.
40
40
41
-
Open your browser and navigate to [`http://localhost:12345`](http://localhost:12345).
41
+
```shell
42
+
docker ps
43
+
```
44
+
45
+
## Monitor the health of your {{% param "PRODUCT_NAME" %}} deployment
46
+
47
+
To monitor the health of your {{< param "PRODUCT_NAME" >}} deployment, open your browser and navigate to [`http://localhost:12345`](http://localhost:12345).
42
48
43
-
With the Alloy UI, you can monitor the health of your Alloy deployment.
44
49
Refer to [Debug Grafana Alloy](https://grafana.com/docs/alloy/latest/troubleshoot/debug/) for more information about the {{< param "PRODUCT_NAME" >}} UI.
45
50
46
-
## Use the Grafana UI
51
+
## Visualise your data
52
+
53
+
To create a [dashboard](https://grafana.com/docs/grafana/latest/getting-started/build-first-dashboard/#create-a-dashboard) to visualise your metrics and logs, open your browser and navigate to [`http://localhost:3000/dashboards`](http://localhost:3000/dashboards).
47
54
48
-
Open your browser and navigate to [`http://localhost:3000`](http://localhost:3000).
55
+
To explore metrics, open your browser and navigate to [http://localhost:3000/explore/metrics](http://localhost:3000/explore/metrics).
49
56
50
-
With the Grafana UI, you can create your own dashboards to create queries and visualize any aspect of your Docker container metrics and logs.
51
-
Refer to [Build your first dashboard](https://grafana.com/docs/grafana/latest/getting-started/build-first-dashboard/#create-a-dashboard) for detailed information about dashboards in Grafana.
57
+
To use the Grafana Logs Drilldown, open your browser and navigate to [http://localhost:3000/a/grafana-lokiexplore-app](http://localhost:3000/a/grafana-lokiexplore-app).
Copy file name to clipboardexpand all lines: docs/sources/tutorials/scenarios/monitor-syslog-messages.md
+13-7
Original file line number
Diff line number
Diff line change
@@ -36,19 +36,25 @@ cd alloy-scenarios/syslog
36
36
docker compose up -d
37
37
```
38
38
39
-
## View the {{% param "PRODUCT_NAME" %}} UI
39
+
You can check the status of the Docker containers by running the following command.
40
40
41
-
Open your browser and navigate to [`http://localhost:12345`](http://localhost:12345).
41
+
```shell
42
+
docker ps
43
+
```
44
+
45
+
## Monitor the health of your {{% param "PRODUCT_NAME" %}} deployment
46
+
47
+
To monitor the health of your {{< param "PRODUCT_NAME" >}} deployment, open your browser and navigate to [`http://localhost:12345`](http://localhost:12345).
42
48
43
-
With the Alloy UI, you can monitor the health of your Alloy deployment.
44
49
Refer to [Debug Grafana Alloy](https://grafana.com/docs/alloy/latest/troubleshoot/debug/) for more information about the {{< param "PRODUCT_NAME" >}} UI.
45
50
46
-
## Use the Grafana UI
51
+
## Visualise your data
52
+
53
+
To create a [dashboard](https://grafana.com/docs/grafana/latest/getting-started/build-first-dashboard/#create-a-dashboard) to visualise your metrics and logs, open your browser and navigate to [`http://localhost:3000/dashboards`](http://localhost:3000/dashboards).
47
54
48
-
Open your browser and navigate to [`http://localhost:3000`](http://localhost:3000).
55
+
To explore metrics, open your browser and navigate to [http://localhost:3000/explore/metrics](http://localhost:3000/explore/metrics).
49
56
50
-
With the Grafana UI, you can create your own dashboards to create queries and visualize any aspect of your Docker container metrics and logs.
51
-
Refer to [Build your first dashboard](https://grafana.com/docs/grafana/latest/getting-started/build-first-dashboard/#create-a-dashboard) for detailed information about dashboards in Grafana.
57
+
To use the Grafana Logs Drilldown, open your browser and navigate to [http://localhost:3000/a/grafana-lokiexplore-app](http://localhost:3000/a/grafana-lokiexplore-app).
Copy file name to clipboardexpand all lines: docs/sources/tutorials/scenarios/monitor-windows.md
+30-22
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ weight: 400
9
9
# Monitor Microsoft Windows servers and desktops with {{% param "FULL_PRODUCT_NAME" %}}
10
10
11
11
You can use {{< param "FULL_PRODUCT_NAME" >}} to monitor Microsoft Windows servers and desktops.
12
-
This scenario shows you how to install {{< param "PRODUCT_NAME" >}} in Windows and how to configure {{< param "PRODUCT_NAME" >}} to monitor the following system attributes:
12
+
This example shows you how to install {{< param "PRODUCT_NAME" >}} in Windows and configure {{< param "PRODUCT_NAME" >}} to monitor the following system attributes:
13
13
14
14
* Windows performance metrics
15
15
* Windows event logs
@@ -50,23 +50,27 @@ You can check the status of the containers by running the following command:
50
50
docker ps
51
51
```
52
52
53
-
## Install {{% param "PRODUCT_NAME" %}}
53
+
## Install {{% param "PRODUCT_NAME" %}} in Windows
54
54
55
-
Follow the instructions in the [Grafana Alloy documentation](https://grafana.com/docs/alloy/latest/set-up/install/windows/) to install Grafana Alloy on your Windows machine.
55
+
Follow the instructions in the [Grafana Alloy documentation](https://grafana.com/docs/alloy/latest/set-up/install/windows/) to install {{< param "PRODUCT_NAME" >}} on your Windows machine.
56
56
57
57
Recommended steps:
58
58
59
-
* Install Grafana Alloy as a Windows service.
60
-
* Use Windows Installer to install Grafana Alloy.
59
+
* Install {{< param "PRODUCT_NAME" >}} as a Windows service.
60
+
* Use Windows Installer to install {{< param "PRODUCT_NAME" >}}.
61
61
62
62
Make sure to also checkout the [Grafana Alloy configuration](https://grafana.com/docs/alloy/latest/set-up/configuration/) documentation.
63
63
64
-
Personal recommendation: If you would like to see the Alloy UI from a remote machine you need to change the run arguments of the Grafana Alloy service. To do this:
64
+
### Configure remote access to the {{% param "PRODUCT_NAME" %}} UI
65
+
66
+
If you would like access the {{< param "PRODUCT_NAME" >}} UI from a remote machine you must change the runtime arguments of the {{< param "PRODUCT_NAME" >}} service.
67
+
68
+
To configure the runtime arguments:
65
69
66
70
1. Open Registry Editor.
67
-
2. Navigate to `HKEY_LOCAL_MACHINE\SOFTWARE\GrafanaLabs\Alloy`.
68
-
3. Double click on `Arguments`
69
-
4. Change the contents to the following:
71
+
1. Navigate to `HKEY_LOCAL_MACHINE\SOFTWARE\GrafanaLabs\Alloy`.
72
+
1. Double click on `Arguments`
73
+
1. Change the contents to the following:
70
74
71
75
```shell
72
76
run
@@ -75,33 +79,37 @@ Personal recommendation: If you would like to see the Alloy UI from a remote mac
75
79
--server.http.listen-addr=0.0.0.0:12345
76
80
```
77
81
78
-
5. Restart the Grafana Alloy service.
82
+
1. Restart the {{< param "PRODUCT_NAME" >}} service.
79
83
Search for `Services` in the start menu, find `Grafana Alloy`, right click and restart.
80
84
81
-
You should be able to access the Alloy UI from a remote machine by going to `http://<windows-machine-ip>:12345`.
85
+
You should be able to access the {{< param "PRODUCT_NAME" >}} UI from a remote machine by going to `http://<windows-machine-ip>:12345`.
82
86
83
-
## Configure {{% param "PRODUCT_NAME" %}} to Monitor Windows
87
+
## Configure {{% param "PRODUCT_NAME" %}} to monitor Windows
84
88
85
89
Now that you have Grafana Alloy installed, you need to configure it to monitor your Windows machine.
86
90
Grafana Alloy will currently be running a default configuration file.
87
91
This needs to be replaced with the `config.alloy` file that is included in the `alloy-scenarios/windows` directory.
88
92
To do this:
89
93
90
-
1. Stop the Grafana Alloy service.
94
+
1. Stop the {{< param "PRODUCT_NAME" >}} service.
91
95
1. Replace the `config.alloy` file in `C:\Program Files\GrafanaLabs\Alloy` with the `config.alloy` file from the `alloy-scenarios/windows` directory.
92
-
1. Start the Grafana Alloy service.
93
-
1. Open your browser and go to `http://localhost:12345` to access the Alloy UI.
96
+
1. Start the {{< param "PRODUCT_NAME" >}} service.
97
+
98
+
## Monitor the health of your {{% param "PRODUCT_NAME" %}} deployment
94
99
95
-
## View the Windows Performance Metrics and Event Logs
100
+
To monitor the health of your {{< param "PRODUCT_NAME" >}} deployment, open your browser and navigate to [`http://localhost:12345`](http://localhost:12345).
96
101
97
-
You will now be able to view the Windows Performance Metrics and Event Logs in Grafana:
102
+
Refer to [Debug Grafana Alloy](https://grafana.com/docs/alloy/latest/troubleshoot/debug/) for more information about the {{< param "PRODUCT_NAME" >}} UI.
98
103
99
-
* Open your browser and go to [http://localhost:3000/explore/metrics](http://localhost:3000/explore/metrics).
100
-
This will take you to the metrics explorer in Grafana.
104
+
## Visualise your data
101
105
102
-
* Open your browser and go to [http://localhost:3000/a/grafana-lokiexplore-app](http://localhost:3000/a/grafana-lokiexplore-app).
103
-
This will take you to the Loki explorer in Grafana.
106
+
To create a [dashboard](https://grafana.com/docs/grafana/latest/getting-started/build-first-dashboard/#create-a-dashboard) to visualise your metrics and logs, open your browser and navigate to [`http://localhost:3000/dashboards`](http://localhost:3000/dashboards).
104
107
108
+
To explore metrics, open your browser and navigate to [http://localhost:3000/explore/metrics](http://localhost:3000/explore/metrics).
109
+
110
+
To use the Grafana Logs Drilldown, open your browser and navigate to [http://localhost:3000/a/grafana-lokiexplore-app](http://localhost:3000/a/grafana-lokiexplore-app).
111
+
112
+
## Understand the {{% param "PRODUCT_NAME" %}} configuration
Copy file name to clipboardexpand all lines: docs/sources/tutorials/scenarios/parse-structured-logs.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -42,19 +42,19 @@ You can check the status of the containers by running the following command:
42
42
docker ps
43
43
```
44
44
45
-
## View the {{% param "PRODUCT_NAME" %}} UI
45
+
## Monitor the health of your {{% param "PRODUCT_NAME" %}} deployment
46
46
47
-
Open your browser and navigate to [`http://localhost:12345`](http://localhost:12345).
47
+
To monitor the health of your {{< param "PRODUCT_NAME" >}} deployment, open your browser and navigate to [`http://localhost:12345`](http://localhost:12345).
48
48
49
-
With the Alloy UI, you can monitor the health of your Alloy deployment.
50
49
Refer to [Debug Grafana Alloy](https://grafana.com/docs/alloy/latest/troubleshoot/debug/) for more information about the {{< param "PRODUCT_NAME" >}} UI.
51
50
52
-
## Use the Grafana UI
51
+
## Visualise your data
53
52
54
-
Open your browser and navigate to [`http://localhost:3000`](http://localhost:3000).
53
+
To create a [dashboard](https://grafana.com/docs/grafana/latest/getting-started/build-first-dashboard/#create-a-dashboard) to visualise your metrics and logs, open your browser and navigate to [`http://localhost:3000/dashboards`](http://localhost:3000/dashboards).
55
54
56
-
With the Grafana UI, you can create your own dashboards to create queries and visualize any aspect of your Docker container metrics and logs.
57
-
Refer to [Build your first dashboard](https://grafana.com/docs/grafana/latest/getting-started/build-first-dashboard/#create-a-dashboard) for detailed information about dashboards in Grafana.
55
+
To explore metrics, open your browser and navigate to [http://localhost:3000/explore/metrics](http://localhost:3000/explore/metrics).
56
+
57
+
To use the Grafana Logs Drilldown, open your browser and navigate to [http://localhost:3000/a/grafana-lokiexplore-app](http://localhost:3000/a/grafana-lokiexplore-app).
0 commit comments