Logs in the Render Dashboard

Use Render's log explorer to view and search recent logs generated by your service. The explorer is available from your service's Logs page in the Render Dashboard:

Log explorer in the Render Dashboard

In addition to searching for a particular string, you can filter by details like log level, instance, and time range.

When you identify a log line of interest, mouse over it and click View in context to jump to its location in the full log history:

Clicking view in context in the log explorer

If you have a Professional workspace or higher, the explorer also displays HTTP request logs for your web services.

Separately, you can view logs for any recent deploy or one-off job. Note that Render does not emit logs for static sites.

Want to stream logs to your syslog-compatible observability provider?

See Streaming Render Service Logs.

Log line format

Log lines in the explorer display the following information:

Log line format

ComponentDescription

Timestamp

The time the log was generated, in your local time zone.

Mouse over the timestamp to view it in UTC and Unix formats.

Level

The log level, such as debug, warning, or error.

Mouse over the icon to view the log level as text.

Instance

A string that uniquely identifies the service instance that generated the log.

Click this value to add it as a search filter.

HTTP request logs are aggregated at the service level (not the individual instance level), so they do not display this value.

Message

The logged message.

HTTP request logs instead display the details for the corresponding HTTP request, such as:

  • HTTP method
  • Status code
  • Requested URL

Log filters

When searching with the log explorer, you can filter results by the following (in addition to searching for an arbitrary string):

FilterDescription
Time range

You can limit results to a predefined range (such as Last 24 hours), specify a custom range, or select Live tail to view a live feed of recent logs. Available ranges depend on your workspace's log retention period.

Specify using the dropdown in the upper right of the log explorer.

level

The log level, such as debug, warning, or error.

Specify in the search box.

instance

The ID of the service instance that generated the log. Helpful for filtering logs for a scaled service, or for observing an instance swap during a zero-downtime deploy.

Specify in the search box. You can also click the instance ID for any log line to add it as a filter.

method

HTTP request logs only. The HTTP method of a particular request (such as GET or POST).

Specify in the search box.

status_code

HTTP request logs only. The response code for a particular request (such as 200, 404, or 500).

Specify in the search box.

host

HTTP request logs only. The originating domain of a particular request (such as my-web-service.onrender.com).

Specify in the search box.

Wildcards and regular expressions

The log explorer supports searching with wildcards and regular expressions.

To match any number of characters, use the wildcard token (*). To match against a regular expression, enclose your search in forward slashes (/). You can then use any metacharacters supported by the RE2 syntax.

You can use wildcards and regular expressions in search strings and in filters. See the table below for some useful examples.

SearchDescription

foo*bar

Returns logs that contain foo followed by bar using wildcard search.

/foo.*bar/

Returns logs that contain foo followed by bar using a regular expression.

/(foo|bar)/

Returns logs that contain foo or bar.

status_code:/4../

Returns request logs with a 4xx status code.

method:/(GET|POST)/

Returns request logs with a GET or POST method.

path:api/resource/*/subresource

Returns request logs with a path that starts with api/resource/ and ends with /subresource.

/responseTimeMS=\d{3}\d+/

Returns request logs with a response time greater than one second.

Keyboard shortcuts

The log explorer supports these keyboard shortcuts:

ActionShortcut

Focus search bar

/

Enable fullscreen

M

Exit fullscreen

M or Esc

Scroll (slow)

Arrow Up / Arrow Down

Scroll (fast)

Page Up / Page Down

Jump to top

Home

Jump to bottom

End

Copy all currently displayed logs

CMD+Shift+C (macOS)

CTRL+Shift+C (Windows/Linux)

Clear logs (live tail view only)

CMD+Shift+L (macOS)

CTRL+Shift+L (Windows/Linux)

HTTP request logs

If you have a Professional workspace or higher, Render generates a log entry for each HTTP request to your team's web services from the public internet:

HTTP request logs in the Render Dashboard

This helps you debug unexpected behavior for a request, in particular by tracing its execution via the requestID field.

HTTP request logs appear alongside application logs in the explorer, and they support additional filters (such as method and status_code).

Render does not generate request logs for HTTP requests sent from other services over your private network—only for requests sent to web services over the public internet.

Tracing with requestID and Rndr-Id

In each HTTP request log entry, the value of the requestID field uniquely identifies the associated request:

text
Nov 2 2:47:04 PM [GET] 400 clientIP="34.105.23.229" requestID="542c7b8b-c833-4b3c" ...

Render includes this same value in the Rndr-Id HTTP header—both in the request to your web service and in the response to the requesting client:

http
Rndr-Id: 542c7b8b-c833-4b3c

In your web service's code, you can extract this value from the header and include it in every log you generate for a given request. If you do, you can search for this ID in the log explorer to view the corresponding request's chronological log history.

On the client's side, here's what a Rndr-Id looks like in Chrome's Network panel:

Viewing the Rndr-Id header in Chrome

By tracing each phase of the request lifecycle with one consistent ID, you can more quickly diagnose and debug issues in collaboration with the users who encounter them.

Logs for an individual deploy or job

View the logs for an individual deploy of your service from the service's Events page. Click the word Deploy in a timeline entry to open the log viewer:

Selecting a deploy to view logs

⬇️

Viewing logs for a single deploy

Similarly, you can view logs for the execution of a one-off job from the associated service's Jobs page.

Log limits

Retention period

Render's log retention period depends on your workspace's plan (see the pricing page):

Workspace PlanRetention Period
Hobby7 days
Professional14 days
Organization / Enterprise30 days

Logs older than your current rentention period are no longer available, even if you upgrade your plan to extend the period.

If you need to retain logs for a longer period, you can stream your logs to a syslog-compatible provider.

Rate limit

Render processes a maximum of 6,000 application-generated log lines per minute for each running instance of a service.

If an instance generates logs in excess of this limit, Render drops the excess log lines. Dropped log lines don't appear in the log explorer or in log streams.