---
title: Azure Bastion
description: Monitor connection sessions and host scale usage for Azure Bastion.
breadcrumbs: Docs > Integrations > Azure Bastion
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Azure Bastion
Integration version1.0.0
{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

[Azure Bastion](https://learn.microsoft.com/en-us/azure/bastion/bastion-overview) provides secure RDP and SSH access to virtual machines over the Azure portal, without exposing them through a public IP. This integration surfaces Bastion host connection sessions and scale unit usage.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Microsoft Azure integration](https://docs.datadoghq.com/integrations/azure.md) first. There are no other installation steps.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **azure.network_bastionhosts.count**(gauge)       | The count of Azure Bastion resources.                                              |
| **azure.network_bastionhosts.pingmesh**(gauge)    | Communication status: 1 if all internal communication is healthy, 0 if any is not. |
| **azure.network_bastionhosts.total**(gauge)       | Total memory available on the Bastion host.                                        |
| **azure.network_bastionhosts.usage_user**(gauge) | Percentage of CPU in use on the Bastion host.*Shown as percent*                    |
| **azure.network_bastionhosts.used**(gauge)        | Amount of memory in use on the Bastion host.                                       |
| **azure.network_bastionhosts.sessions**(count)    | Session count for the bastion. View in sum and per instance.*Shown as session*     |

### Service Checks{% #service-checks %}

Azure Bastion does not include any service checks.

### Events{% #events %}

Azure Bastion does not include any events.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
