Azure Logs Ingestion API

Send logs to Azure Log Analytics using Logs Ingestion API

Azure Logs Ingestion plugin lets you ingest your records using Logs Ingestion API in Azure Monitorarrow-up-right to supported Azure tablesarrow-up-right or to custom tablesarrow-up-right that you create.

The Logs ingestion API requires the following components:

  • A Data Collection Endpoint (DCE)

  • A Data Collection Rule (DCR) and

  • A Log Analytics Workspace

To visualize the basic logs ingestion operation, see the following image:

Log ingestion overview

To get more details about how to set up these components, refer to the following documentation:

Configuration parameters

Key
Description
Default

tenant_id

The tenant ID of the Azure Active Directory (AAD) application.

none

client_id

The client ID of the AAD application.

none

client_secret

The client secret of the AAD application (App Secretarrow-up-right).

none

dce_url

Data Collection Endpoint(DCE) URL.

none

dcr_id

Data Collection Rule (DCR) immutable IDarrow-up-right.

none

table_name

The name of the custom log table (include the _CL suffix as well if applicable)

none

time_key

Optional. Specify the key name where the timestamp will be stored.

@timestamp

time_generated

Optional. If enabled, will generate a timestamp and append it to JSON. The key name is set by the time_key parameter.

true

compress

Optional. Enable HTTP payload gzip compression.

true

workers

The number of workers to perform flush operations for this output.

0

Get started

To send records into an Azure Log Analytics using Logs Ingestion API the following resources needs to be created:

Follow this guidelinearrow-up-right to set up the DCE, DCR, app registration and a custom table.

Configuration file

Use this configuration file to get started:

Set up your DCR transformation based on the JSON output from the Fluent Bit pipeline (input, parser, filter, output).

Last updated

Was this helpful?