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.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,40 +1,40 @@
1
1
---
2
-
description: 'Send logs, metrics to Azure Log Analytics'
2
+
description: Send logs, metrics to Azure Log Analytics
3
3
---
4
4
5
5
# Azure Log Analytics
6
6
7
-
Azure output plugin allows to ingest your records into [Azure Log Analytics](https://azure.microsoft.com/en-us/services/log-analytics/) service.
7
+
Azure output plugin lets you ingest your records into [Azure Log Analytics](https://azure.microsoft.com/en-us/services/log-analytics/) service.
8
8
9
-
To get more details about how to setup Azure Log Analytics, please refer to the following documentation: [Azure Log Analytics](https://docs.microsoft.com/en-us/azure/log-analytics/)
9
+
For details about how to setup Azure Log Analytics, see the [Azure Log Analytics](https://docs.microsoft.com/en-us/azure/log-analytics/) documentation.
10
10
11
-
## Configuration Parameters
11
+
## Configuration parameters
12
12
13
-
| Key | Description |default|
13
+
| Key | Description |Default|
14
14
| :--- | :--- | :--- |
15
-
|Customer\_ID| Customer ID or WorkspaceID string. ||
16
-
|Shared\_Key| The primary or the secondary Connected Sources client authentication key. ||
17
-
|Log\_Type| The name of the event type. | fluentbit |
18
-
| Log_Type_Key | If included, the value for this key will be looked upon in the record and if present, will over-write the `log_type`. If not found then the `log_type` value will be used. ||
19
-
|Time\_Key| Optional parameter to specify the key name where the timestamp will be stored. |@timestamp|
20
-
|Time\_Generated| If enabled, the HTTP request header 'time-generated-field' will be included so Azure can override the timestamp with the key specified by 'time_key' option. | off |
21
-
| Workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`0`|
15
+
|`Customer_ID`| Customer ID or WorkspaceID string. |_none_|
16
+
|`Shared_Key`| The primary or the secondary Connected Sources client authentication key. |_none_|
17
+
|`Log_Type`| The name of the event type. |`fluentbit`|
18
+
|`Log_Type_Key`| If included, the value for this key checked in the record and if present, will overwrite the `log_type`. If not found then the `log_type` value will be used. |_none_|
19
+
|`Time_Key`| Optional. Specify the key name where the timestamp will be stored. |`@timestamp`|
20
+
|`Time_Generated`| If enabled, the HTTP request header `time-generated-field` will be included so Azure can override the timestamp with the key specified by `time_key` option. |`off`|
21
+
|`Workers`| The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`0`|
22
22
23
-
## Getting Started
23
+
## Get started
24
24
25
-
In order to insert records into an Azure Log Analytics instance, you can run the plugin from the command line or through the configuration file:
25
+
To insert records into an Azure Log Analytics instance, run the plugin from the command line or through the configuration file.
26
26
27
-
### Command Line
27
+
### Command line
28
28
29
-
The **azure** plugin, can read the parameters from the command line in two ways, through the **-p** argument \(property\), e.g:
29
+
The _Azure_ plugin can read the parameters from the command line in the following ways, using the `-p` argument (property):
In your main configuration file append the following _Input_ & _Output_sections:
37
+
In your main configuration file append the following sections:
38
38
39
39
{% tabs %}
40
40
{% tab title="fluent-bit.yaml" %}
@@ -43,12 +43,12 @@ In your main configuration file append the following _Input_ & _Output_ sections
43
43
pipeline:
44
44
inputs:
45
45
- name: cpu
46
-
46
+
47
47
outputs:
48
48
- name: azure
49
49
match: '*'
50
50
customer_id: abc
51
-
shared_key: def
51
+
shared_key: def
52
52
```
53
53
54
54
{% endtab %}
@@ -68,7 +68,7 @@ pipeline:
68
68
{% endtab %}
69
69
{% endtabs %}
70
70
71
-
Another example using the `Log_Type_Key` with [record-accessor](https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/record-accessor), which will read the table name (or event type) dynamically from kubernetes label `app`, instead of `Log_Type`:
71
+
The following example uses the `Log_Type_Key` with [record-accessor](https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/record-accessor), which will read the table name (or event type) dynamically from the Kubernetes label `app`, instead of `Log_Type`:
72
72
73
73
{% tabs %}
74
74
{% tab title="fluent-bit.yaml" %}
@@ -77,13 +77,13 @@ Another example using the `Log_Type_Key` with [record-accessor](https://docs.flu
0 commit comments