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 of the Logs service in the required pool can be viewed in the Logs subsection of the URL List instruction.

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, on 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, on 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 the events.

Filter events

  1. In the control panel, on 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: enter the values that the events should contain in the search bar. You can use filter patterns for unstructured logs. Learn more in the Using filter patterns to match terms in unstructured log events instruction in the official AWS documentation.

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

    • error — displays events that contain error;
    • error timeout — displays events that contain error`` and timeout;
    • ?500 ?404 — displays events that contain 500`` or 404;
    • error -timeout — displays events that contain error but do not contain timeout;
    • "internal server error" — displays events with an exact value match.
  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 event display 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.