Skip to content

Commit 2602e95

Browse files
dhtclkBlargian
andauthored
Apply suggestions from code review
Co-authored-by: Shaun Struwig <[email protected]>
1 parent 1a5937a commit 2602e95

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/use-cases/observability/clickstack/host-logs/ec2-host-logs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,12 @@ EOF
234234

235235
**Replace the following in the configuration:**
236236
- `YOUR_CLICKSTACK_HOST`: The hostname or IP address where ClickStack is running
237-
- For local testing, you can use an SSH tunnel (see Troubleshooting section)
237+
- For local testing, you can use an SSH tunnel (see the [Troubleshooting section](#troubleshooting))
238238

239239
This configuration:
240240
- Reads system log files from standard locations (`/var/log/syslog` for Ubuntu, `/var/log/messages` for Amazon Linux/RHEL)
241241
- Parses syslog format to extract structured fields (timestamp, hostname, unit/service, PID, message)
242-
- **Automatically detects and adds EC2 metadata** using the resourcedetection processor
242+
- **Automatically detects and adds EC2 metadata** using the `resourcedetection` processor
243243
- Optionally includes EC2 tags (Name, Environment, Team) if present
244244
- Sends logs to ClickStack via OTLP HTTP
245245

@@ -284,7 +284,7 @@ Configure the collector to run as a systemd service so it starts automatically o
284284
Once the collector is running, log into HyperDX and verify logs are flowing with EC2 metadata:
285285

286286
1. Navigate to the search view
287-
2. Set source to Logs
287+
2. Set source to `Logs`
288288
3. Filter by `source:ec2-host-logs`
289289
4. Click on a log entry to expand it
290290
5. Verify you see EC2 metadata in the resource attributes:
@@ -410,15 +410,15 @@ docker run --name clickstack-demo \
410410
Once the collector is running:
411411

412412
1. Open [HyperDX](http://localhost:8080/) and log in to your account (you may need to create an account first)
413-
2. Navigate to the Search view and set the source to `Logs`
413+
2. Navigate to the search view and set the source to `Logs`
414414
3. Set the time range to **2025-11-10 00:00:00 - 2025-11-13 00:00:00**
415415
4. Filter by `source:ec2-demo`
416416
5. Expand a log entry to view EC2 metadata in the resource attributes
417417

418418
<Image img={search_view_demo} alt="EC2 logs search view"/>
419419
<Image img={log_view_demo} alt="EC2 log detail with metadata"/>
420420

421-
:::note[Timezone Display]
421+
:::note[Timezone display]
422422
HyperDX displays timestamps in your browser's local timezone. The demo data spans **2025-11-11 00:00:00 - 2025-11-12 00:00:00 (UTC)**. The wide time range ensures you'll see the demo logs regardless of your location. Once you see the logs, you can narrow the range to a 24-hour period for clearer visualizations.
423423
:::
424424

0 commit comments

Comments
 (0)