Skip to content

Commit 20fcbff

Browse files
authored
Fixes to broken tab constructs on Loki and Kafka output docs. Part of issue 1916. (#1919)
* Fixes to broken tab constructs for Loki output plugin doc. Part of issue #1916. Signed-off-by: Eric D. Schabell <[email protected]> * Fixes to broken tab constructs for Kafka output plugin doc. Part of issue #1916. Signed-off-by: Eric D. Schabell <[email protected]> --------- Signed-off-by: Eric D. Schabell <[email protected]>
1 parent d8b48b3 commit 20fcbff

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

pipeline/outputs/kafka.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ This example Fluent Bit configuration file creates example records with the
198198
_payloadkey_ and _msgkey_ keys. The _msgkey_ value is used as the Kafka message
199199
key, and the _payloadkey_ value as the payload.
200200

201-
% tabs %}
201+
{% tabs %}
202202
{% tab title="fluent-bit.yaml" %}
203203

204204
```yaml

pipeline/outputs/loki.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ The following configuration examples generate the same Stream Labels:
214214

215215
Add the JSON path to the plugin output configuration:
216216

217-
% tabs %}
217+
{% tabs %}
218218
{% tab title="fluent-bit.yaml" %}
219219

220220
```yaml
@@ -241,7 +241,7 @@ pipeline:
241241

242242
The previous configurations accomplish the same as this one:
243243

244-
% tabs %}
244+
{% tabs %}
245245
{% tab title="fluent-bit.yaml" %}
246246

247247
```yaml
@@ -276,7 +276,7 @@ job="fluentbit", stream="stdout"
276276

277277
If you're running in a Kubernetes environment, consider enabling the `auto_kubernetes_labels` option, which autopopulates the streams with the Pod labels for you. Consider the following configuration:
278278

279-
% tabs %}
279+
{% tabs %}
280280
{% tab title="fluent-bit.yaml" %}
281281

282282
```yaml
@@ -321,7 +321,7 @@ Consider this JSON example:
321321

322322
If the value is a string, `line_format` is `json`, and `drop_single_key` is `true`, it will be sent as a quoted string.
323323

324-
% tabs %}
324+
{% tabs %}
325325
{% tab title="fluent-bit.yaml" %}
326326

327327
```yaml
@@ -390,7 +390,7 @@ The following configuration:
390390
determined by the Kubernetes metadata filter (not shown).
391391
- Uses a structured metadata field to hold the Kubernetes pod name.
392392

393-
% tabs %}
393+
{% tabs %}
394394
{% tab title="fluent-bit.yaml" %}
395395

396396
```yaml
@@ -428,7 +428,7 @@ In addition to the `structured_metadata` configuration parameter, a `structured_
428428

429429
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:
430430

431-
% tabs %}
431+
{% tabs %}
432432
{% tab title="fluent-bit.yaml" %}
433433

434434
```yaml
@@ -457,7 +457,7 @@ pipeline:
457457

458458
Assuming the value `$kubernetes` is a map containing two entries `namespace_name` and `pod_name`, the previous configuration is equivalent to:
459459

460-
% tabs %}
460+
{% tabs %}
461461
{% tab title="fluent-bit.yaml" %}
462462

463463
```yaml
@@ -499,7 +499,7 @@ Fluent Bit supports sending logs and metrics to [Grafana Cloud](https://grafana.
499499

500500
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:
501501

502-
% tabs %}
502+
{% tabs %}
503503
{% tab title="fluent-bit.yaml" %}
504504

505505
```yaml
@@ -539,7 +539,7 @@ pipeline:
539539
The following configuration example emits a dummy example record and ingests it on Loki .
540540
Copy and paste the corresponding content below into a file `out_loki.yaml` or `out_loki.conf`:
541541

542-
% tabs %}
542+
{% tabs %}
543543
{% tab title="out-loki.yaml" %}
544544

545545
```yaml

0 commit comments

Comments
 (0)