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 Blob Storage via Event Grid Terraform Modules for Azure Blob Storage via Event Grid

Last Updated: May. 24, 2023

Using our Terraform modules, you can easily install and manage Coralogix integrations with Azure services as modules in your infrastructure code. This tutorial demonstrates how to install the Coralogix function app, allowing you to connect your Blob Storage container and send logs to Coralogix.

Our modules are open-source and available on Github and in the Terraform registry.


  • A resource group and storage account to be used by your function app
  • Event Grid system topic configured for “Storage Accounts (Blob & GPv2)” aligned to the storage account containing the Blob Storage container
    • If it is a restricted storage account, review this optional configuration to learn about VNet support options.


Install our function app that connects to your Blob Storage container and sends logs to Coralogix.

Add this declaration to your Terraform project:

terraform {
  required_providers {
    azurerm = {
      source = "hashicorp/azurerm"
      version = "~> 3.50"

provider "azurerm" {
  features {}

module "eventhub" {
  source = "coralogix/azure/coralogix//modules/eventhub"

  CoralogixRegion = "Europe"
  CustomDomain = < Custom FQDN if applicable >
  CoralogixPrivateKey = < Private Key >
  CoralogixApplication = "Azure"
  CoralogixSubsystem = "EventHub"
  FunctionResourceGroupName = < Function ResourceGroup Name >
  FunctionStorageAccountName = < Function StorageAccount Name >
  FunctionAppServicePlanType = "Consumption"
  EventhubInstanceName = < Name of EventHub Instance >
  EventhubNamespace = < Name of Eventhub Namespace >
  EventhubResourceGroupName = < Name of Eventhub ResourceGroup >


Additional Resources

DocumentationCoralogix Terraform Provider
External DocumentationGithub
Terraform Registry


Need help?

Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.

Feel free to reach out to us via our in-app chat or by sending us an email at [email protected].

On this page