Skip to main content

Retrieve logs

For your information

You can retrieve logs of balancers and Managed Database clusters for which logging is enabled. You can also retrieve logs that you have added yourself.

You can retrieve a list of log groups, a list of event streams, and events.

You can retrieve logs:

You can also export logs to your own storage using the Fluent Bit plugin and the Grafana Alloy agent.

The URL for the Logs service in the required pool can be found in the List of URLs (URL) guide.

Retrieve a list of log groups

  1. In the control panel, on the top menu, click Products and select Logs.

  2. In the Logs section, select a location.

Retrieve a list of event streams

  1. In the control panel, in the top menu, click Products and select Logs.

  2. In the Logs section, select a location.

  3. Optional: select a log group product.

  4. Open the log group page.

Retrieve events

  1. In the control panel, in the top menu, click Products and select Logs.

  2. In the Logs section, select a location.

  3. Optional: select a log group product.

  4. Open the log group page.

  5. Select a stream.

  6. Optional: filter events.

Filter events

  1. In the control panel, in the top menu, click Products and select Logs.

  2. In the Logs section, select a location.

  3. Optional: select a product for which log groups are collected.

  4. Open the log group page.

  5. Select a stream.

  6. Optional: in the search bar, enter the values that the events should contain. You can use a filter pattern for unstructured logs. Read more in the Using filter patterns to match terms in unstructured log events guide in the official AWS documentation.

    Examples of values in the search bar and results of searching by filter pattern:

    • error — events containing error will be displayed;
    • error timeout — events containing both error and timeout will be displayed;
    • ?500 ?404 — events containing either 500 or 404 will be displayed;
    • error -timeout — events containing error but not containing timeout will be displayed;
    • "internal server error" — events with an exact value match will be displayed.
  7. Optional: filter logs by time:

    7.1. Select a preset range or specify the period for which you need events.

    7.2. Select UTC time or Local time for the displayed event time.

  8. Optional: if logs are collected in JSON format, configure the table display of fields in the events list:

    8.1. Click .

    8.2. Select the checkboxes for the fields whose values you want to display in a table.

    8.3. Click Confirm.