Our next-gen architecture is built to help you make sense of your ever-growing data Watch a 4-min demo video!

Back to All Integrations

Terraform Modules for Azure EventHub Terraform Modules for Azure EventHub

Last Updated: Jun. 27, 2022

Terraform simplifies the way we deploy our infrastructure and allows us to maintain it as code.

Using our Terraform Modules, you can easily install and manage Coralogix integrations with Azure services as modules in your infrastructure code.

Our modules are open source and available on our Github and in the Terraform Registry.


This module will be installing our function app that connects to your EventHub and sends logs to Coralogix.

To use the modules, simply add this declaration to your Terraform project:

module "eventhub" {
  source  = "coralogix/azure/coralogix//modules/eventhub"
  coralogix_region   = "Europe"
  private_key        = "<Your-private-key>"
  application_name   = "azure"
  subsystem_name     = "eventhub-coralogix"
  azure_resource_group = "<Eventhub-namespace-resource-group>"
  azure_eventhub_namespace_connection_string_primary = "<Eventhub-namespace-connection-string>"

Find your EventHub namespace connection string in :

Event Hub -> Shared access policies -> Selected SAS policy -> Connection string-primary key

It will look something like this:


We also have a Terraform Provider of our own to help with managing your Coralogix resources such as rules and alerts. Learn more about the Coralogix Terraform Provider and how to install it here.

If you have any questions, feel free to reach out to our team via our in-app chat!

On this page