-
Notifications
You must be signed in to change notification settings - Fork 405
ClickStack - EC2 host logs #4792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
…into ec2-host-logs
Blargian
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
|
||
| **Replace the following in the configuration:** | ||
| - `YOUR_CLICKSTACK_HOST`: The hostname or IP address where ClickStack is running | ||
| - For local testing, you can use an SSH tunnel (see Troubleshooting section) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - For local testing, you can use an SSH tunnel (see Troubleshooting section) | |
| - For local testing, you can use an SSH tunnel (see the [Troubleshooting section](#troubleshooting)) |
| This configuration: | ||
| - Reads system log files from standard locations (`/var/log/syslog` for Ubuntu, `/var/log/messages` for Amazon Linux/RHEL) | ||
| - Parses syslog format to extract structured fields (timestamp, hostname, unit/service, PID, message) | ||
| - **Automatically detects and adds EC2 metadata** using the resourcedetection processor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - **Automatically detects and adds EC2 metadata** using the resourcedetection processor | |
| - **Automatically detects and adds EC2 metadata** using the `resourcedetection` processor |
For consistency below
| Once the collector is running, log into HyperDX and verify logs are flowing with EC2 metadata: | ||
|
|
||
| 1. Navigate to the search view | ||
| 2. Set source to Logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 2. Set source to Logs | |
| 2. Set source to `Logs` |
|
|
||
| Once the collector is running: | ||
|
|
||
| 1. Open [HyperDX](http://localhost:8080/) and log in to your account (you may need to create an account first) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's link to where you can create an account
| Once the collector is running: | ||
|
|
||
| 1. Open [HyperDX](http://localhost:8080/) and log in to your account (you may need to create an account first) | ||
| 2. Navigate to the Search view and set the source to `Logs` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 2. Navigate to the Search view and set the source to `Logs` | |
| 2. Navigate to the search view and set the source to `Logs` |
| <Image img={search_view_demo} alt="EC2 logs search view"/> | ||
| <Image img={log_view_demo} alt="EC2 log detail with metadata"/> | ||
|
|
||
| :::note[Timezone Display] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| :::note[Timezone Display] | |
| :::note[Timezone display] |
| - Filter by EC2 metadata attributes (region, instance type, instance ID) to monitor specific resources | ||
| - Correlate EC2 host logs with application logs for comprehensive troubleshooting | ||
| - Create custom dashboards for security monitoring (SSH attempts, sudo usage, firewall blocks) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we have links for these it will make a nice addition
Summary
ClickStack - EC2 host logs guide
Checklist