Skip to content

Commit 8c84c4b

Browse files
committed
Fixing indentation for WASM filter doc. Part of issue #1981.
Signed-off-by: Eric D. Schabell <[email protected]>
1 parent 6e3091a commit 8c84c4b

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

pipeline/filters/wasm.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -34,43 +34,43 @@ Here is a configuration example.
3434

3535
```yaml
3636
pipeline:
37-
inputs:
38-
- name: dummy
39-
tag: dummy.local
40-
41-
filters:
42-
- name: wasm
43-
match: 'dummy.*'
44-
event_format: json # or msgpack
45-
wasm_path: /path/to/wasm_program.wasm
46-
function_name: filter_function_name
47-
# Note: run Fluent Bit from the 'wasm_path' location.
48-
accessible_paths: /path/to/accessible
49-
50-
outputs:
51-
- name: stdout
52-
match: '*'
37+
inputs:
38+
- name: dummy
39+
tag: dummy.local
40+
41+
filters:
42+
- name: wasm
43+
match: 'dummy.*'
44+
event_format: json # or msgpack
45+
wasm_path: /path/to/wasm_program.wasm
46+
function_name: filter_function_name
47+
# Note: run Fluent Bit from the 'wasm_path' location.
48+
accessible_paths: /path/to/accessible
49+
50+
outputs:
51+
- name: stdout
52+
match: '*'
5353
```
5454
5555
{% endtab %}
5656
{% tab title="fluent-bit.conf" %}
5757
5858
```text
5959
[INPUT]
60-
Name dummy
61-
Tag dummy.local
60+
Name dummy
61+
Tag dummy.local
6262

6363
[FILTER]
64-
Name wasm
65-
Match dummy.*
66-
Event_Format json # or msgpack
67-
WASM_Path /path/to/wasm_program.wasm
68-
Function_Name filter_function_name
69-
Accessible_Paths .,/path/to/accessible
64+
Name wasm
65+
Match dummy.*
66+
Event_Format json # or msgpack
67+
WASM_Path /path/to/wasm_program.wasm
68+
Function_Name filter_function_name
69+
Accessible_Paths .,/path/to/accessible
7070

7171
[OUTPUT]
72-
Name stdout
73-
Match *
72+
Name stdout
73+
Match *
7474
```
7575

7676
{% endtab %}

0 commit comments

Comments
 (0)