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
| host | Loki hostname or IP address. Don't include the subpath (for example, `loki/api/v1/push`); use only the base hostname/URL. |`127.0.0.1`|
16
16
| uri | Specify a custom HTTP URI. It must start with forward slash. | /loki/api/v1/push |
17
-
| port | Loki TCP port | 3100 |
18
-
| tls | Use TLS authentication | off |
19
-
| http\_user | Set HTTP basic authentication user name ||
20
-
| http\_passwd | Set HTTP basic authentication password ||
21
-
| bearer\_token | Set bearer token authentication token value. ||
22
-
| header | Add additional arbitrary HTTP header key/value pair. Multiple headers can be set. ||
23
-
| tenant\_id | Tenant ID used by default to push logs to Loki. If omitted or empty it assumes Loki is running in single-tenant mode and no X-Scope-OrgID header is sent. ||
24
-
| labels | Stream labels for API request. It can be multiple comma separated of strings specifying `key=value` pairs. In addition to fixed parameters, it also allows to add custom record keys \(similar to `label_keys` property\). More details in the Labels section. | job=fluent-bit |
25
-
| label\_keys | Optional list of record keys that will be placed as stream labels. This configuration property is for records key only. More details in the Labels section. ||
17
+
|`uri`| Specify a custom HTTP URL. It must start with forward slash. |`/loki/api/v1/push`|
18
+
|`port`| Loki TCP port. |`3100`|
19
+
|`tls`| Use TLS authentication. |`off`|
20
+
|`http_user`| Set HTTP basic authentication user name. |_none_|
21
+
|`http_passwd`| Set HTTP basic authentication password. |_none_|
22
+
|`bearer_token`| Set bearer token authentication token value. |_none_|
23
+
|`header`| Add additional arbitrary HTTP header key/value pair. Multiple headers can be set. |_none_|
24
+
|`tenant_id`| Tenant ID used by default to push logs to Loki. If omitted or empty it assumes Loki is running in single-tenant mode and no X-Scope-OrgID header is sent. |_none_|
25
+
|`labels`| Stream labels for API request. It can be multiple comma separated of strings specifying `key=value` pairs. In addition to fixed parameters, it also allows to add custom record keys (similar to `label_keys` property). More details in the Labels section. |`job=fluent-bit`|
26
+
|`label_keys`| Optional list of record keys that will be placed as stream labels. This configuration property is for records key only. More details in the Labels section. |_none_|
26
27
|`label_map_path`| Specify the label map file path. The file defines how to extract labels from each record. More details in the Labels section. |_none_|
27
28
|`structured_metadata`| Optional, comma-separated list of `key=value` strings specifying structured metadata for the log line. Like the `labels` parameter, values can reference record keys using record accessors. See [Structured metadata](#structured-metadata) for more information. |_none_|
28
29
|`structured_metadata_map_keys`| Optional, comma-separated list of record key strings specifying record values of type map, used to dynamically populate structured metadata for the log line. Values can only reference record keys using record accessors, which should reference map values. Each entry from the referenced map will be used to add an entry to the structured metadata. See [Structured metadata](#structured-metadata) for more information. |_none_|
0 commit comments