---
title: "POST /2020-05-31/realtime-log-config"
method: POST
path: "/2020-05-31/realtime-log-config"
---

# POST /2020-05-31/realtime-log-config

`POST /2020-05-31/realtime-log-config`

Creates a real-time log configuration.

After you create a real-time log configuration, you can attach it to one or more cache behaviors to send real-time log data to the specified Amazon Kinesis data stream.

For more information about real-time log configurations, see [Real-time logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html) in the _Amazon CloudFront Developer Guide_.

## Response `201`

Success

## Other responses

- `480` — RealtimeLogConfigAlreadyExists
- `481` — TooManyRealtimeLogConfigs
- `482` — InvalidArgument
- `483` — AccessDenied

---

[API](https://skmtc.net/aws/apis/cloudfront.md) · [All operations](https://skmtc.net/aws/apis/cloudfront/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/cloudfront/revisions/fd674fc97471/schema)
