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
If you're running in a Kubernetes environment, consider enabling the `auto_kubernetes_labels` option, which auto-populates the streams with the Pod labels for you. Consider the following configuration:
295
295
296
-
% tabs %}
296
+
{% tabs %}
297
297
{% tab title="fluent-bit.yaml" %}
298
298
299
299
```yaml
@@ -341,7 +341,7 @@ Consider this JSON example:
341
341
342
342
If the value is a string, `line_format` is `json`, and `drop_single_key` is `true`, it will be sent as a quoted string.
343
343
344
-
% tabs %}
344
+
{% tabs %}
345
345
{% tab title="fluent-bit.yaml" %}
346
346
347
347
```yaml
@@ -413,7 +413,7 @@ The following configuration:
413
413
determined by the Kubernetes metadata filter (not shown).
414
414
- Uses a structured metadata field to hold the Kubernetes pod name.
415
415
416
-
% tabs %}
416
+
{% tabs %}
417
417
{% tab title="fluent-bit.yaml" %}
418
418
419
419
```yaml
@@ -454,7 +454,7 @@ In addition to the `structured_metadata` configuration parameter, a `structured_
454
454
455
455
The following configuration is similar to the previous example, except now all entries in the log record map value `$kubernetes` will be used as structured metadata entries:
456
456
457
-
% tabs %}
457
+
{% tabs %}
458
458
{% tab title="fluent-bit.yaml" %}
459
459
460
460
```yaml
@@ -486,7 +486,7 @@ pipeline:
486
486
487
487
Assuming the value `$kubernetes` is a map containing two entries `namespace_name` and `pod_name`, the previous configuration is equivalent to:
488
488
489
-
% tabs %}
489
+
{% tabs %}
490
490
{% tab title="fluent-bit.yaml" %}
491
491
492
492
```yaml
@@ -531,7 +531,7 @@ Fluent Bit supports sending logs and metrics to [Grafana Cloud](https://grafana.
531
531
532
532
Below is an example configuration, be sure to set the credentials (shown here with XXX) and ensure the host URL matches the correct one for your deployment:
533
533
534
-
% tabs %}
534
+
{% tabs %}
535
535
{% tab title="fluent-bit.yaml" %}
536
536
537
537
```yaml
@@ -574,7 +574,7 @@ pipeline:
574
574
The following configuration example emits a dummy example record and ingests it on Loki .
575
575
Copy and paste the corresponding content below into a file `out_loki.yaml` or `out_loki.conf`:
0 commit comments