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_blob.md
+42-24Lines changed: 42 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,30 +63,6 @@ Fluent Bit exposes the following configuration properties.
63
63
|`upload_timeout`| Optional. Specify a timeout for uploads. Fluent Bit will start ingesting buffer files which have been created more than `x` minutes and haven't reached `upload_file_size` limit yet. |`30m`|
64
64
|`workers`| The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. |`0`|
65
65
66
-
## Service principal authentication
67
-
68
-
Azure Blob output supports Microsoft Entra ID service principal authentication. To use this authentication method, set `auth_type` to `service_principal` and provide the required credentials: `tenant_id`, `client_id`, and `client_secret`.
69
-
70
-
The service principal must have permission to write to the target storage account or container. For example, assign the `Storage Blob Data Contributor` role to the service principal.
71
-
72
-
Service principal authentication requires TLS to be enabled (`tls` set to `on`).
73
-
74
-
### Example configuration
75
-
76
-
```ini
77
-
[OUTPUT]
78
-
Name azure_blob
79
-
Match *
80
-
account_name mystorageaccount
81
-
container_name logs
82
-
blob_type blockblob
83
-
auth_type service_principal
84
-
tenant_id <tenant-id>
85
-
client_id <client-id>
86
-
client_secret <client-secret>
87
-
tls on
88
-
```
89
-
90
66
### Path templating
91
67
92
68
When `path` is set, Fluent Bit resolves the value as a template (similar to the Amazon S3 output) before each upload. The resolved prefix is persisted alongside buffered files, so retries and restarts keep writing to the same Azure path. Leading and trailing slashes are removed automatically to avoid duplicate separators.
@@ -182,6 +158,48 @@ After you run the configuration file, you will be able to query the data using t
### Configuration with service principal authentication
162
+
163
+
To authenticate with Microsoft Entra ID service principal credentials, set `auth_type` to `service_principal` and configure `tenant_id`, `client_id`, and `client_secret`. The service principal must have permission to write to the target storage account or container, such as the `Storage Blob Data Contributor` role.
0 commit comments