Azure Data Explorer
Send logs to Azure Data Explorer (Kusto)
Last updated
Was this helpful?
Send logs to Azure Data Explorer (Kusto)
Last updated
Was this helpful?
The Kusto output plugin allows to ingest your logs into an cluster, via the mechanism. This output plugin can also be used to ingest logs into an cluster in Microsoft Fabric Real Time Analytics.
You can create an Azure Data Explorer cluster in one of the following ways:
You can create an Eventhouse cluster and a KQL database follow the following steps:
Fluent-Bit will use the application's credentials, to ingest data into your cluster.
Fluent-Bit ingests the event data into Kusto in a JSON format, that by default will include 3 properties:
log
- the actual event payload.
tag
- the event tag.
timestamp
- the event timestamp.
A table with the expected schema must exist in order for data to be ingested properly.
tenant_id
Required - The tenant/domain ID of the AAD registered application.
client_id
Required - The client ID of the AAD registered application.
client_secret
ingestion_endpoint
Required - The cluster's ingestion endpoint, usually in the form `https://ingest-cluster_name.region.kusto.windows.net
database_name
Required - The database name.
table_name
Required - The table name.
ingestion_mapping_reference
log_key
Key name of the log content.
log
include_tag_key
If enabled, a tag is appended to output. The key name is used tag_key
property.
On
tag_key
The key name of tag. If include_tag_key
is false, This property is ignored.
tag
include_time_key
If enabled, a timestamp is appended to output. The key name is used time_key
property.
On
time_key
The key name of time. If include_time_key
is false, This property is ignored.
timestamp
ingestion_endpoint_connect_timeout
The connection timeout of various Kusto endpoints in seconds.
60
compression_enabled
If enabled, sends compressed HTTP payload (gzip) to Kusto.
true
ingestion_resources_refresh_interval
The ingestion resources refresh interval of Kusto endpoint in seconds.
3600
workers
0
Get started quickly with this configuration file:
If you get a 403 Forbidden
error response, make sure that:
You provided the correct AAD registered application credentials.
You authorized the application to ingest into your database or table.
By default, Kusto will insert incoming ingestions into a table by inferring the mapped table columns, from the payload properties. However, this mapping can be customized by creatng a . The plugin can be configured to use an ingestion mapping via the ingestion_mapping_reference
configuration key.
Required - The client secret of the AAD registered application ().
Optional - The name of a that will be used to map the ingested payload into the table columns.
The number of to perform flush operations for this output.