Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 19 additions & 20 deletions pipeline/inputs/dummy.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ You can run the plugin from the command line or through the configuration file:

Run the plugin from the command line using the following command:

```bash
fluent-bit -i dummy -o stdout
```shell
$ fluent-bit -i dummy -o stdout
```

which returns results like the following:
Expand All @@ -46,13 +46,26 @@ Fluent Bit v2.x.x

### Configuration file

In your main configuration file append the following `Input` and `Output` sections:

In your main configuration file append the following:

{% tabs %}
{% tab title="fluent-bit.yaml" %}

```yaml
pipeline:
inputs:
- name: dummy
dummy: '{"message": "custom dummy"}'

outputs:
- name: stdout
match: '*'
```

{% endtab %}
{% tab title="fluent-bit.conf" %}

```python
```text
[INPUT]
Name dummy
Dummy {"message": "custom dummy"}
Expand All @@ -63,18 +76,4 @@ In your main configuration file append the following `Input` and `Output` sectio
```

{% endtab %}

{% tab title="fluent-bit.yaml" %}

```yaml
pipeline:
inputs:
- name: dummy
dummy: '{"message": "custom dummy"}'
outputs:
- name: stdout
match: '*'
```

{% endtab %}
{% endtabs %}
{% endtabs %}