You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pipeline/outputs/azure_logs_ingestion.md
+27-29Lines changed: 27 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,44 +1,42 @@
1
1
---
2
-
description: 'Send logs to Azure Log Analytics using Logs Ingestion API with DCE and DCR'
2
+
description: Send logs to Azure Log Analytics using Logs Ingestion API
3
3
---
4
4
5
5
# Azure Logs Ingestion API
6
6
7
-
Azure Logs Ingestion plugin allows you to ingest your records using [Logs Ingestion API in Azure Monitor](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview) to supported [Azure tables](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview#supported-tables) or to [custom tables](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/create-custom-table#create-a-custom-table) that you create.
7
+
Azure Logs Ingestion plugin lets you ingest your records using [Logs Ingestion API in Azure Monitor](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview) to supported [Azure tables](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview#supported-tables) or to [custom tables](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/create-custom-table#create-a-custom-table) that you create.
8
8
9
9
The Logs ingestion API requires the following components:
10
10
11
11
- A Data Collection Endpoint (DCE)
12
12
- A Data Collection Rule (DCR) and
13
13
- A Log Analytics Workspace
14
14
15
-
> Note: According to [this document](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-monitor/logs/logs-ingestion-api-overview.md#components), all resources should be in the same region.
15
+
To visualize the basic logsingestion operation, see the following image:
16
16
17
-
To visualize basic Logs Ingestion operation, see the following image:
-[Send data to Azure Monitor Logs with Logs ingestion API (setup DCE, DCR and Log Analytics)](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-portal)
|tenant\_id|_Required_ - The tenant ID of the AAD application. ||
31
-
|client\_id|_Required_ - The client ID of the AAD application. ||
32
-
|client\_secret|_Required_ - The client secret of the AAD application ([App Secret](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#option-2-create-a-new-application-secret)). ||
33
-
|dce\_url|_Required_ - Data Collection Endpoint(DCE) URL. ||
34
-
|dcr\_id|_Required_ - Data Collection Rule (DCR) immutable ID (see [this document](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-portal#collect-information-from-the-dcr) to collect the immutable id) ||
35
-
|table\_name|_Required_ - The name of the custom log table (include the `_CL` suffix as well if applicable) ||
36
-
|time\_key|_Optional_ - Specify the key name where the timestamp will be stored. |`@timestamp`|
37
-
|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`|
| workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`0`|
40
-
41
-
## Getting Started
28
+
|`tenant_id`| The tenant ID of the Azure Active Directory (AAD) application. |_none_|
29
+
|`client_id`| The client ID of the AAD application. |_none_|
30
+
|`client_secret`|The client secret of the AAD application ([App Secret](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#option-2-create-a-new-application-secret)). |_none_|
31
+
|`dce_url`| Data Collection Endpoint(DCE) URL. |_none_|
32
+
|`dcr_id`| Data Collection Rule (DCR) [immutable ID](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-portal#collect-information-from-the-dcr). |_none_|
33
+
|`table_name`| The name of the custom log table (include the `_CL` suffix as well if applicable) |_none_|
34
+
|`time_key`|Optional. Specify the key name where the timestamp will be stored. |`@timestamp`|
35
+
|`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`|
|`workers`| The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`0`|
38
+
39
+
## Get started
42
40
43
41
To send records into an Azure Log Analytics using Logs Ingestion API the following resources needs to be created:
44
42
@@ -47,11 +45,11 @@ To send records into an Azure Log Analytics using Logs Ingestion API the followi
47
45
- Either an [Azure tables](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview#supported-tables) or [custom tables](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/create-custom-table#create-a-custom-table)
48
46
- An app registration with client secrets (for DCR access).
49
47
50
-
You can follow[this guideline](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-portal) to set up the DCE, DCR, app registration and a custom table.
48
+
Follow[this guideline](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-portal) to set up the DCE, DCR, app registration and a custom table.
0 commit comments