Skip to content

Commit d0d3a03

Browse files
authored
consistent formatting with the rest of the docs
1 parent ddb37f7 commit d0d3a03

File tree

1 file changed

+8
-8
lines changed
  • docs/use-cases/observability/clickstack/integration-examples

1 file changed

+8
-8
lines changed

docs/use-cases/observability/clickstack/integration-examples/nginx-logs.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import search_view from '@site/static/images/clickstack/nginx-logs-search-view.p
1818

1919
# Monitoring Nginx Logs with ClickStack {#nginx-clickstack}
2020

21-
::::note[TL;DR]
21+
:::note[TL;DR]
2222
This guide shows you how to monitor nginx with ClickStack by configuring the OpenTelemetry collector to ingest nginx access logs. You'll learn how to:
2323

2424
- Configure nginx to output JSON-formatted logs
@@ -29,7 +29,7 @@ This guide shows you how to monitor nginx with ClickStack by configuring the Ope
2929
A demo dataset with 10,000 sample logs is provided to test the integration before connecting your production nginx instances.
3030

3131
Time Required: 5-10 minutes.
32-
::::
32+
:::
3333

3434
## Prerequisites {#prerequisites}
3535
- ClickStack instance running
@@ -118,12 +118,12 @@ This configuration:
118118
- Adds source: nginx attribute for filtering in HyperDX
119119
- Routes logs to the ClickHouse exporter via a dedicated pipeline
120120
121-
::::note
121+
:::note
122122
- You only define new receivers and pipelines in the custom config
123123
- The processors (memory_limiter, transform, batch) and exporters (clickhouse) are already defined in the base ClickStack configuration - you just reference them by name
124124
- The time_parser operator extracts timestamps from nginx's time_local field to preserve original log timing
125125
- The pipelines route data from your receivers to the ClickHouse exporter via the existing processors
126-
::::
126+
:::
127127
128128
## Configure ClickStack to load custom configuration {#load-custom}
129129
@@ -161,9 +161,9 @@ docker run --name clickstack \
161161
docker.hyperdx.io/hyperdx/hyperdx-all-in-one:latest
162162
```
163163

164-
::::note
164+
:::note
165165
Ensure the ClickStack collector has appropriate permissions to read the nginx log files. In production, use read-only mounts (:ro) and follow the principle of least privilege.
166-
::::
166+
:::
167167

168168
## Verifying Logs in ClickStack {#verifying-logs}
169169
Once configured, log into HyperDX and verify logs are flowing:
@@ -255,9 +255,9 @@ Once ClickStack is running (you may have to create an account and login first):
255255

256256
1. Open [HyperDX](http://localhost:8080/search?from=1760976000000&to=1761062400000&isLive=false&source=690235c1a9b7fc5a7c0fffc7&select=Timestamp,ServiceName,SeverityText,Body&where=&whereLanguage=lucene&filters=[]&orderBy=)
257257

258-
::::note
258+
:::note
259259
It is important to use the link above to get the correct time range, if you don't use this link set your time range to Oct 20 11:00:00 - Oct 21 11:00:00 to see proper results.
260-
::::
260+
:::
261261

262262
Here's what you should see in your search view:
263263

0 commit comments

Comments
 (0)