# Real-time query (/en/realtime-media/im/reference/console/real-time-query)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

Agora Chat provides the following statistical data to help you monitor the usage in Agora Console:

* **Hotspot Data**: Query the top 50 active users, chat groups, and chat rooms within any time range.
* **Message Delivery**: Examine the delivery status of messages.
* **Device Log**: Retrieve client logs.
* **User Connection Status**: Query end users' presence (online or offline).

![Real-time query](https://assets-docs.agora.io/images/im/real-time-query.png)

## Real-time query overview [#real-time-query-overview]

The real-time query overview page provides a quick insight into the rest of the statistical data, which includes the following:

* **Activity**: Active users, groups, and chat rooms within the previous 30 minutes, updated every minute.
* **Percentage Of Daily Login Devices**: The number of devices logged-in on the day of viewing, updated every minute.
* **Message Volume Query**: The message volume for private chats, group chats, and chat rooms, updated every 10 minutes.

![Real-time query overview page](https://assets-docs.agora.io/images/im/real-time-query-overview.png)

## Hotspot Data [#hotspot-data]

To query the data, select the hotspot type and the required time range, down to minutes:

![Hotspot data](https://assets-docs.agora.io/images/im/hot-spot-data.png)

## Device Log [#device-log]

Query and download user device logs by specifying the user ID:

![Device log](https://assets-docs.agora.io/images/im/device-log.png)

## User Connection Status [#user-connection-status]

Query the user's historical connection status by user ID and time range in the previous three days.

![User connection status](https://assets-docs.agora.io/images/im/user-connection-status.png)
