Azure Cloud Service Integration With Kloudfuse to Ingest Logs

Kloudfuse integrates with the Azure cloud service to receive logs through the Datadog agent. Complete these tasks to ensure smooth sending and ingestion of log streams:

See Datadog documentation for the following tasks:

Create an Azure Event Hub

Point your Event Hub Trigger to Kloudfuse

This section is adapted from Point your Event Hub trigger to Datadog, instead pointing to Kloudfuse.

  1. On the detail page of your Event Hub trigger function, click Code + Test under the Developer side menu.

  2. Add the Kloudfuse-Azure function to the function’s index.js file.

  3. Save the function.

  4. Click Integration under the Developer side menu.

  5. Click Azure Event Hubs under Trigger and inputs.

  6. Confirm the following settings:

    Event hub connection

    Name of your connection string environment variable

    Event parameter name

    eventHubMessages

    Event hub name

    Name of your Event Hub.

    Event hub cardinality

    Many

    Event hub data type

    Empty

  7. To validate your setup, click Code + Test under the Developer side menu.

  8. Click Test/Run and enter a test message in valid JSON format.

  9. Find your test message in the Kloudfuse Logs Explorer.

Create Diagnostic Settings

For logs of all resources in Azure that you want to capture, create diagnostic settings:

  1. Create diagnostic settings for activity logs.

  2. Create diagnostic settings for resource logs.