[Yandex Cloud documentation](../../index.md) > [Yandex Application Load Balancer](../index.md) > [Step-by-step guides](index.md) > L7 load balancers > Viewing L7 load balancer logs

# Viewing L7 load balancer logs

You can [configure](application-load-balancer-manage-logs.md) the delivery of L7 load balancer [logs](../concepts/monitoring.md#logging) to a Yandex Cloud Logging [log group](../../logging/concepts/log-group.md).

To view L7 Load balancer logs:

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the folder the load balancer is in.
  1. Navigate to **Application Load Balancer**.
  1. Select the load balancer to view logs for.
  1. Navigate to the **Logs** tab.
  1. Select the number of messages per page and the time interval: 1 hour, 3 hours, 1 day, 1 week, 2 weeks.
  1. To see the message details, click the arrow icon on its left.
  
{% endlist %}

You can also view logs in [Yandex Cloud Logging](../../logging/index.md):

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the folder with the log group.
  1. Navigate to **Cloud Logging**.
  1. Select the log group receiving your load balancer logs.
  1. Select the number of messages per page and the time interval: 1 hour, 3 hours, 1 day, 1 week, 2 weeks.
  1. To see the message details, click the arrow icon on its left.

- CLI {#cli}

    If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../cli/quickstart.md#install).

    The folder used by default is the one specified when [creating](../../cli/operations/profile/profile-create.md) the CLI profile. To change the default folder, use the `yc config set folder-id <folder_ID>` command. You can also specify a different folder for any command using `--folder-name` or `--folder-id`. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

    To view the entries in JSON format, run this command:

    ```bash
    yc logging read \
      --group-name=<log_group_name> \
      --format=json
    ```

    Where:

    * `--group-name`: Name of the log group receiving your load balancer logs.
    * `--format`: Log output format.

    Result:

    ```json
    [
      {
        "uid": "488ece3c-75b8-4d35-95ac-2b49********",
        "resource": {},
        "timestamp": "2021-06-22T02:10:40Z",
        "ingested_at": "2021-06-22T08:49:15.716Z",
        "saved_at": "2021-06-22T08:49:16.176097Z",
        "level": "INFO",
        "message": "My message",
        "json_payload": {
          "request_id": "1234"
        }
      }
    ]
    ```

    For more information on how to view logs with CLI, see [this article](../../logging/operations/read-logs.md).

- API {#api}

  To view log group messages, use the [LogReadingService/Read](../../logging/api-ref/grpc/LogReading/read.md) gRPC API call.

{% endlist %}