cloudwatch-logs (parlel)

A zero-dependency, in-process fake of Amazon CloudWatch Logs. Speaks the AWS JSON 1.1 wire protocol (X-Amz-Target: Logs_20140328.<Operation>). This is the standalone "extend CloudWatch with Logs" deliverable.

FieldValue
Servicecloudwatch-logs
Port4745
ProtocolAWS JSON 1.1
HealthGET /_parlel/health
ResetPOST /_parlel/reset

Default connection

AWS_ENDPOINT_URL=http://127.0.0.1:4745
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=parlel
AWS_SECRET_ACCESS_KEY=parlel

Supported operations

OperationNotes
CreateLogGroupRejects duplicates.
DescribeLogGroupsOptional logGroupNamePrefix.
DeleteLogGroup
CreateLogStream
DescribeLogStreamsOptional logStreamNamePrefix.
DeleteLogStream
PutLogEventsReturns/validates nextSequenceToken.
GetLogEventsstartTime/endTime/limit/startFromHead.
FilterLogEventsBasic substring/term filter pattern.
PutRetentionPolicyStores retentionInDays.
TagLogGroup / ListTagsLogGroup / UntagLogGroup

Filter patterns

FilterLogEvents supports a simplified CloudWatch Logs pattern:

SDK example

import {
  CloudWatchLogsClient,
  PutLogEventsCommand,
} from "@aws-sdk/client-cloudwatch-logs";

const logs = new CloudWatchLogsClient({
  endpoint: "http://127.0.0.1:4745",
  region: "us-east-1",
  credentials: { accessKeyId: "parlel", secretAccessKey: "parlel" },
});

await logs.send(new PutLogEventsCommand({
  logGroupName: "/app/api",
  logStreamName: "instance-1",
  logEvents: [{ timestamp: Date.now(), message: "started" }],
}));

Access via MCP / preview URL

Under the parlel pool, reach this service through the MCP gateway and the pool's preview URL.

Surface coverage

This emulator faithfully replicates the API surface most application code and agents exercise. Anything below the supported lines is either an intentional design choice for a fast, zero-cost local emulator (✓ By design) or a candidate for a future release (⟳ Roadmap) — never a silent inaccuracy.

Legend: ✅ fully supported · ◐ accepted (stored, not strictly enforced) · ✓ by design · ⟳ on the roadmap.

AreaLimitation
RetentionretentionInDays is stored but events are never expired.
Metric filtersNot implemented.
Subscription filtersNot implemented.
Insights queriesStartQuery/GetQueryResults not implemented.
Filter patternSubstring/term matching only (no JSON/metric syntax).
PaginationTokens are generated but events are returned in full per call.
<!-- parlel:testenv:start -->

Configuration — test.env

Copy these into your test.env (used by the bridge sidecar flow). Tokens are Parlel's seeded test credentials — any non-empty value is accepted by the emulator, so you rarely need to change them. Swap in real credentials only when pointing at the live service in prod.env.

AWS_ACCESS_KEY_ID=parlel
AWS_SECRET_ACCESS_KEY=parlel
AWS_REGION=us-east-1
AWS_ENDPOINT_URL=http://parlel-bridge:4745
<!-- parlel:testenv:end -->