Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
How to Connect non-Azure CGFs to a Microsoft Azure Log Analytics Workspace
Published Dec 02, 2025

How to Connect non-Azure CGFs to a Microsoft Azure Log Analytics Workspace

Dec 02, 2025
Subscribe

CloudGen Firewall boxes that run outside the Azure cloud can be connected to a Microsoft Azure Log Analytics workspace. The functionality is the same as for CloudGen Firewalls residing in the Azure Cloud, with a few differences/limitations. The connection is based on a command line tool named "omsctl".

Prerequisites

In order to connect a CloudGen Firewall to an Azure Log Analytics Workspace, the workspace ID and its primary key must be available.

These can be copied from the Azure portal:

or gathered via Azure CLI:

az monitor log-analytics workspace show --subscription <subscription_id> --resource-group <resource_group_name> --workspace-name <workspace_name> az monitor log-analytics workspace get-shared-keys --subscription <subscription_id> --resource-group <resource_group_name> --workspace-name <workspace_name>

Limitations

Similar to CloudGen Firewalls residing in the Azure Cloud, the following limitations apply to connecting non-Azure CloudGen Firewalls to Azure Log Analytics:

  • On CC-managed boxes, the streaming configuration is not automatically created and must be configured manually. For more information, see How to Configure Log Streaming to Microsoft Azure Log Analytics.

  • On HA pairs, the primary HA peer must be connected first, so that the streaming configuration gets created, and only afterwards should also the secondary unit be connected.

  • Also, for CloudGen Firewalls in the Azure Cloud there is a health check that runs periodically and that can automatically recover from some error conditions that might arise during operation. This health check is not available on non-Azure boxes connected to OMS.

Connecting and Disconnecting from an Azure Log Analytics Workspace

Both operations are done using the CLI utility "/opt/phion/bin/omsctl":

# omsctl --help usage: omsctl connect -w <workspace_id> -k <secret_key> omsctl disconnect omsctl start|stop|status

For the initial connection, the tool must be run with the connect subcommand and with the workspace ID and key. After the connection has been established, the status subcommand can be used to check the results. The tool logs all activities in the /var/phion/logs/box_Cloud_operational.log log file, which is the place where eventual troubleshooting should take place. You can use the disconnect subcommand to disconnect from the OMS workspace.

start and stop commands are run automatically for starting and stopping the affected services during bootstrapping and service management operations.


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.

🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 10.5
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
    • Cloud Integration for Azure
      • How to Configure Azure Cloud Integration Using ARM
      • How to Add and Remove Data Disks in Azure using ARM
      • How to Renew a Cloud Integration Certificate
      • Barracuda CloudGen Firewall Managed Identities in Microsoft Azure
      • Azure Security Center Integration
      • How to Configure Log Streaming to Microsoft Azure Log Analytics
        • How to Configure Log Streaming via Azure Monitor Agent
        • How to Connect non-Azure CGFs to a Microsoft Azure Log Analytics Workspace
      • How to Set Log Analytics to a Specific Version in Azure
      • How to Reset the Root Password for CloudGen Firewalls in Azure
      • Azure Virtual WAN
      • How to Increase Disk IOPS Limits
      • Streaming to Azure Log Analytics via the Barracuda Log Analytics Daemon
      • How to use Azure Entra Authentication for MS-Exchange in Office365
    • Cloud Integration for AWS
    • How to Enable SSH Root Access for Public Cloud Firewalls
  • Assigned Services
  • Services
  • Automated Critical Updates
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
{"serverDuration": 12, "requestCorrelationId": "5c2126cd7f994c49ad1bb3d73c35b57b"}