Update log stream override
render_update_resource_log_streamUpdate a resource's log stream override to control whether logs are sent or dropped, and optionally set the streaming endpoint and authentication token.
Instructions
Update log stream override. Updates log stream override information for the specified resource. A log stream override takes precedence over a workspace's default log stream. Calls PUT /logs/streams/resource/{resourceId} on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | The optional token to authenticate the log stream. | |
| setting | Yes | Whether to send logs or drop them. | |
| endpoint | No | The endpoint to stream logs to. | |
| resourceId | Yes | The ID of the resource (server, cron job, postgres, or redis) to update log stream override information for |