CloudWatch Logs
Search Amazon CloudWatch Logs from Rowpilot. Each data source connects to one AWS region and shows its log groups as tables.
Create the connection
- Click the
New Data sourcebutton in the left sidebar (or pressCmd/Ctrl+Shift+N) - Select CloudWatch Logs in the AWS group
- Fill in the connection details:
| Field | Default | Notes |
|---|---|---|
| Profile | The AWS cloud profile to sign in with | |
| Region | Optional, for example eu-west-1. Empty uses the profile's region |
- Use Test connection to verify the details before saving
- Click
Create
Schema
The schema tree shows the region and up to 10,000 of its log groups. All log groups have the same columns, which are the standard fields of a log event:
@timestamp, @message, @logStream, @log, @ingestionTime
If you only want one log stream, filter on it with filter @logStream like /api/.
Query languages
Rowpilot picks the language from the first word of the query:
| Query starts with | Language |
|---|---|
SELECT or WITH | SQL |
search or source= | PPL |
| anything else | Logs Insights query language |
fields @timestamp, @message
| filter @message like /ERROR/
| sort @timestamp desc
| limit 50
The editor autocompletes Logs Insights commands, fields and functions.
Log groups and time range
Each query file has its own log groups and time range, which you pick in the editor toolbar. The default time range is the last hour.
You can also set them in comment lines above the query. These lines take priority over the toolbar, and the matching toolbar control is locked while they are there:
# logGroups: /aws/lambda/checkout, /aws/lambda/payments
# time: 3h
fields @timestamp, @message | limit 50
# logGroups:takes up to 50 log group names. A Logs Insights query needs at least one# time:takes a span such as30m,3h,7dor2w, or a range<start> .. <end>such as2026-01-31 08:00 .. now. Times without a zone are read in your computer's time zone# limit: <n>caps the rows returned# language: cwli|sql|pplsets the language explicitly
Cost
AWS bills every CloudWatch Logs query by the amount of data it scans, so keep the time range short and select only the log groups you need.
Transaction mode
CloudWatch Logs is read-only, so it always runs in Auto mode.
Features
- Log groups loading and tree navigation
- Logs Insights, SQL and PPL queries in the editor, with autocomplete for Logs Insights
- Log groups and time range per query file
- AI agents and the External MCP query the log groups over the read-only AI connection
