Amazon CloudWatch Logs
Create log groups and streams, write events and read or filter the stored messages.
Plan: Free112 of 118 operations implemented2Known differences
The tested Logs Insights query returned Complete with empty results despite a matching stored event.
Example checked on Vera 1.2.2, 8 November 2026. Each coverage note names its own evidence and date.
Connect
Section titled “Connect”This Free service needs no license key. Start Vera as in Get started, then run this in a terminal of its own, from an empty scratch directory. It gives the official AWS CLI dummy credentials and a config file of its own, so no AWS account is needed and your own AWS profile isn't touched.
export VERA_ENDPOINT="http://localhost:5003"export AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=testexport AWS_REGION=us-east-1 AWS_DEFAULT_REGION=us-east-1export AWS_SHARED_CREDENTIALS_FILE=/dev/nullexport AWS_EC2_METADATA_DISABLED=trueexport AWS_PAGER="" AWS_CLI_AUTO_PROMPT=offunset AWS_PROFILE AWS_DEFAULT_PROFILEunset AWS_SESSION_TOKEN AWS_SECURITY_TOKENunset AWS_WEB_IDENTITY_TOKEN_FILE AWS_ROLE_ARN AWS_ROLE_SESSION_NAMEunset AWS_CONTAINER_CREDENTIALS_FULL_URIunset AWS_CONTAINER_CREDENTIALS_RELATIVE_URIcat > vera-aws-config <<'EOF'[default]region = us-east-1output = jsoncli_binary_format = base64s3 = addressing_style = pathEOFexport AWS_CONFIG_FILE="$PWD/vera-aws-config"When you've finished every example in this terminal, close it and delete vera-aws-config, not before.
Use the AWS CLI’s logs commands. The emulator serves the 2014-03-28 API over the AWS JSON protocol. Metric alarms and metric data are a separate service: see CloudWatch.
Example
Section titled “Example”Create a log group with a retention policy and a stream, write an event to it, then read it back and find it with a filter pattern. The event is stamped with the current time in milliseconds, worked out with POSIX date +%s arithmetic, so a fixed timestamp can’t go out of date.
aws --endpoint-url "$VERA_ENDPOINT" logs create-log-group --log-group-name /vera-docs/auditaws --endpoint-url "$VERA_ENDPOINT" logs put-retention-policy \ --log-group-name /vera-docs/audit --retention-in-days 7aws --endpoint-url "$VERA_ENDPOINT" logs create-log-stream \ --log-group-name /vera-docs/audit --log-stream-name docs-streamaws --endpoint-url "$VERA_ENDPOINT" logs put-log-events \ --log-group-name /vera-docs/audit --log-stream-name docs-stream \ --log-events "[{\"timestamp\": $(($(date +%s) * 1000)), \"message\": \"hello from example.net\"}]"aws --endpoint-url "$VERA_ENDPOINT" logs get-log-events \ --log-group-name /vera-docs/audit --log-stream-name docs-stream --start-from-headaws --endpoint-url "$VERA_ENDPOINT" logs filter-log-events \ --log-group-name /vera-docs/audit --filter-pattern example.netget-log-events returns the event with its message and timestamp, and the filter finds it too. This is the filter’s output. These are selected fields; the times and eventId differ on every run.
{ "events": [ { "logStreamName": "docs-stream", "timestamp": 1793911046000, "message": "hello from example.net", "ingestionTime": 1793911052965, "eventId": "log_event-32b15a5730354980a" } ], "searchedLogStreams": []}A filter pattern that matched nothing in the group returned no events.
To clean up, delete the log group:
aws --endpoint-url "$VERA_ENDPOINT" logs delete-log-group --log-group-name /vera-docs/auditSupported features
Section titled “Supported features”- Log groups, created and deleted, with a retention policy accepted. In earlier recorded comparisons, the
CreateLogGroup,PutRetentionPolicyandDeleteLogGroupresponses matched AWS’s. - Log streams and events: an event’s message and millisecond timestamp come back from
GetLogEvents. - Simple filtering:
FilterLogEventsfound the event by a plain-text pattern, and a pattern that didn’t match returned nothing. Other filter syntax wasn’t checked. - Also served, not checked in Vera 1.2.0 preview or Vera 1.2.0-rc.3: scheduled queries, metric and subscription filters, destinations and deliveries, export and import tasks, anomaly detectors, data protection, account and resource policies, transformers, live tail and tags.
Limitations
Section titled “Limitations”The main limits are below. A few more apply to every service, and the API coverage notes cover smaller differences.
- Logs Insights didn’t evaluate the tested query. In Vera 1.2.0 preview, after an event with the message
hello from docswas written,StartQuerywithfields @timestamp, @message | limit 20and a time range covering the event succeeded.GetQueryResultsthen reportedCompleteat once, withresultsempty andrecordsMatchedandrecordsScannedboth0. A check on Vera 1.2.0-rc.3 still returned an empty query result. - Only storage, retrieval and simple filtering were tested. Subscription delivery, metric filters, export and import, and live tail weren’t. A stored subscription or destination doesn’t mean logs are delivered anywhere.
- Retention wasn’t tested. A retention policy is stored, but whether events expire after it wasn’t checked, nor limits on event size and ordering.
API coverage
Section titled “API coverage”Every operation in AWS's published 2014-03-28 API (SDK model, botocore 1.43.105), and whether the emulator implements it. Availability combines the earlier implementation inventory with the dated observations below; checking a page's example does not verify every operation. Each note names its evidence first; an observation given without a build or date comes from earlier testing, on 3 November 2026. What the statuses mean
No operation matches .
Try part of a name, such as AssociateKmsKey, or .
| Operation | Status | Notes |
|---|---|---|
| Associate | Implemented | |
| Associate | Implemented | |
| Cancel | Implemented | |
| Cancel | Implemented | |
| Create | Implemented | |
| Create | Implemented | |
| Create | Implemented | |
| Create | Implemented | |
| Create | Implemented | Local observation: Vera 1.2.0 preview, 5 November 2026 — Created the example's log group. |
| Create | Implemented | Local observation: Vera 1.2.0 preview, 5 November 2026 — Created the example's log stream. |
| Create | Implemented | |
| Create | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | Local observation: Vera 1.2.0 preview, 5 November 2026 — Deleted the example's log group. |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Implemented | |
| Delete | Not implemented | |
| Delete | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Describe | Implemented | |
| Disassociate | Implemented | |
| Disassociate | Implemented | |
| Filter | Implemented | Local observation: Vera 1.2.0 preview, 5 November 2026 — A plain-text pattern found the stored event, and a pattern that didn't match returned no events. Other filter syntax wasn't checked. |
| Get | Implemented | |
| Get | Implemented | |
| Get | Implemented | |
| Get | Implemented | |
| Get | Implemented | |
| Get | Implemented | |
| Get | Implemented | |
| Get | Implemented | Local observation: Vera 1.2.0 preview, 5 November 2026 — Returned the stored event's message and timestamp. |
| Get | Implemented | |
| Get | Implemented | |
| Get | Implemented | |
| Get | Implemented | |
| Get | Implemented | |
| Get | Known difference | Local observation: Vera 1.2.0 preview, 5 November 2026 — For the tested query, reported status Complete at once, with results [], recordsMatched 0 and recordsScanned 0, although a matching event was stored. This is not a working Logs Insights evaluation for the tested case. |
| Get | Implemented | |
| Get | Implemented | |
| Get | Not implemented | |
| Get | Implemented | |
| List | Not implemented | |
| List | Implemented | |
| List | Implemented | |
| List | Implemented | |
| List | Implemented | |
| List | Implemented | |
| List | Implemented | |
| List | Implemented | |
| List | Not implemented | |
| List | Implemented | |
| List | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | Local observation: Vera 1.2.0 preview, 5 November 2026 — Stored an event stamped with the current time in milliseconds. |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | |
| Put | Implemented | Local observation: Vera 1.2.0 preview, 5 November 2026 — Accepted a 7-day retention policy. Expiry wasn't checked. |
| Put | Not implemented | |
| Put | Implemented | |
| Put | Not implemented | |
| Put | Implemented | |
| Start | Implemented | |
| Start | Known difference | Local observation: Vera 1.2.0 preview, 5 November 2026 — After an event with the message hello from docs was written, StartQuery with fields @timestamp, @message | limit 20 and a time range covering the event succeeded, but the query was not evaluated: see GetQueryResults. |
| Stop | Implemented | |
| Tag | Implemented | |
| Tag | Implemented | |
| Test | Implemented | |
| Test | Implemented | |
| Untag | Implemented | |
| Untag | Implemented | |
| Update | Implemented | |
| Update | Implemented | |
| Update | Implemented | |
| Update | Implemented | |
| Update | Implemented |