> Source: https://docs.cyberelements.io/bastion/4.7/hu/Usage/Reference/AdminConsole/ActiveConnections/

# Active connections

The **Active connections** module lists the sessions currently open against the platform and tracks how their number has evolved over a period. It is intended for an administrator who wants to see who is connected at a given moment, terminate a session, or measure the load in counted connections over the last few days.

The window is split into two tabs, **Active connections** and **History**.

---

## Tab Active connections

### Reading the grid

Each row is a session currently open.

| Column | Description |
|---|---|
| **Connection type** | Origin of the session. The possible values are listed below. |
| **Domain** | Authentication domain of the user. Sessions opened by third-party guests carry no domain and display *Guests* in italics. |
| **User** | Sign-in identifier used to open the session. |
| **Client IP** | IP address of the machine the session was opened from. |
| **Session start** | Date and time the session started, in `DD/MM/YYYY HH:MM` format followed by the time zone. |

When no session is open, the grid displays **No active connection**.

### Connection types

| Value | Description |
|---|---|
| **Unknown** | The origin of the session could not be determined. |
| **User portal** | Session opened from the user portal. |
| **Desktop client** | Session opened from the Desktop client. |
| **Administration console** | Session opened in the administration console. |
| **REST API** | Session opened by a call to the REST API. |
| **User portal (guest)** | Session opened from the user portal by a third-party guest. |
| **Direct recording** | Session related to a direct recording, per machine. |

### Filters

The **Filters** panel is collapsed by default. It carries four groups, each governed by a check box: a group is only applied once its box is ticked, so leaving it unticked is equivalent to not filtering on that criterion.

| Group | Description |
|---|---|
| **Domain** | Drop-down listing the declared [authentication domains](https://docs.cyberelements.io/bastion/4.7/hu/Usage/Reference/AdminConsole/AuthenticationDomain/). |
| **Connection type** | Check boxes, one per type listed above. The **All** value is deliberately absent: not ticking the group already means every type. |
| **Counting towards the maximum number of sessions** | **Counted connections** drop-down, with the values **Yes** *(default)* and **No**. |
| **Period** | **Starting date:** and **Ending date:** pair, in `DD/MM/YYYY` format. Neither can be later than the current day, and entering a start date later than the end date moves the end date accordingly. |

The **Display** button applies the filters and returns to the first page of the grid. The title of the collapsed panel then reads **Current filter**, followed by the names of the active groups, which lets you see what is being filtered without expanding the panel again. The **Reset** button clears every criterion, restores the **Filters** title and reloads the full list.

The search field at the top right of the window filters the displayed list.

### Terminating a session

Select one or more rows, then click **Terminate connection**. A confirmation is requested, whose wording adapts to whether one or several sessions are selected.

> **Sessions that cannot be terminated**
>
> The **Terminate connection** button stays greyed out as long as the selection contains a session that cannot be terminated, namely:
>
> - the administrator's **own** console session;
> - sessions of type **User portal (guest)**;
> - for a **delegated administrator**, sessions of type **Administration console** and **REST API**.
>
> The button only becomes active once *every* selected session can be terminated.

---

## Tab History

This tab is titled **Maximum number of active concurrent counted connections on one day over the period**. It combines a summary table and a chart, both driven by the period filters.

### Period filters

| Field | Description |
|---|---|
| **Starting date:** | Lower bound of the range. Five days before the current day by default. |
| **Ending date:** | Upper bound of the range. The current day by default. Cannot be earlier than the start date; entering a later start date moves the end date accordingly. |

The **Display** button runs the query and refreshes the table and the chart. The **Reset** button restores the bounds to their default values and replays the query.

> **Invalid range**
>
> If the end date is earlier than the start date when the query is submitted, the request is not sent and an **Error** message reports that the entered dates are incorrect.

### Summary table

The table carries one row per series charted below.

| Column | Description |
|---|---|
| **Connection type** | Name of the series. |
| **Average** | Average of the series over the period, rounded to two decimals. |
| **Maximum** | Highest value reached by the series over the period. |

### Chart

The chart plots two series along a date axis:

- **Counted connections**: connections counted towards the maximum number of simultaneous sessions;
- **Direct recording**: direct recordings, per machine.

The vertical axis starts at zero and is scaled to the highest observed value, plus a 10 % margin so the peak does not touch the top of the frame. Hovering a point displays the date of that point and the value of *both* series on that date.

> **Single-day range**
>
> When the start date and the end date are the same, the time axis is widened by one day on each side, so that the single point remains readable.
