Skip to content

Commit 11be23e

Browse files
authored
Fixes to indentation for Filter docs code examples needing to be 2 space standardized. Fixes #1981. (#1982)
* Fixing indentation for AWS Metadata filter docs. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Checklist filter docs. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for ECS Metadata filter docs. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for GeoIP2 Filter filters doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Grep filters doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Kubernetes filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Log to Metrics filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Log to Lua filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing grammer and spelling for Grep filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Modify filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Multiline filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Nest filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing grammer and spelling for Multiline Stacktrace filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Nightfall filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Parser filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Parser filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Record Modifier filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Record Modifier filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Rewrite Tag filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Standard Output filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Rewrite Tag filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Sysinfo filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Tensorflow filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Throttle filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Type Converter filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for WASM filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Type Converter filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> * Fixing indentation for Tensorflow filter doc. Part of issue #1981. Signed-off-by: Eric D. Schabell <[email protected]> --------- Signed-off-by: Eric D. Schabell <[email protected]>
1 parent 4dffb3d commit 11be23e

21 files changed

+1605
-1746
lines changed

pipeline/filters/aws-metadata.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ If you run Fluent Bit logs might look like the following:
153153

154154
#### `tags_exclude`
155155

156-
Suppose the EC2 instance has three tags: `Name:fluent-bit-docs-example`, `project:fluentbit`, and `department:it`. In this example, the `department` tag is redundant and will be excluded. All of the projects belong to the `it` department, and you don't want to waste storage space on redundant labels.
156+
Suppose the EC2 instance has three tags: `Name:fluent-bit-docs-example`, `project:fluentbit`, and `department:it`. In this example, the `department` tag is redundant and will be excluded. All the projects belong to the `it` department, and you don't want to waste storage space on redundant labels.
157157

158158
Here is an example configuration that achieves this:
159159

@@ -163,22 +163,22 @@ Here is an example configuration that achieves this:
163163
```yaml
164164
pipeline:
165165

166-
filters:
167-
- name: aws
168-
match: '*'
169-
tags_enabled: true
170-
tags_exclude: department
166+
filters:
167+
- name: aws
168+
match: '*'
169+
tags_enabled: true
170+
tags_exclude: department
171171
```
172172
173173
{% endtab %}
174174
{% tab title="fluent-bit.conf" %}
175175
176176
```text
177177
[FILTER]
178-
Name aws
179-
Match *
180-
tags_enabled true
181-
tags_exclude department
178+
Name aws
179+
Match *
180+
tags_enabled true
181+
tags_exclude department
182182
```
183183

184184
{% endtab %}

pipeline/filters/checklist.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -22,51 +22,51 @@ The plugin supports the following configuration parameters
2222

2323
```yaml
2424
pipeline:
25-
inputs:
26-
- name: tail
27-
tag: test1
28-
path: test1.log
29-
read_from_head: true
30-
parser: json
31-
32-
filters:
33-
- name: checklist
34-
match: test1
35-
file: ip_list.txt
36-
lookup_key: $remote_addr
37-
record:
38-
- ioc abc
39-
- badurl null
40-
log_level: debug
41-
42-
outputs:
43-
- name: stdout
44-
match: test1
25+
inputs:
26+
- name: tail
27+
tag: test1
28+
path: test1.log
29+
read_from_head: true
30+
parser: json
31+
32+
filters:
33+
- name: checklist
34+
match: test1
35+
file: ip_list.txt
36+
lookup_key: $remote_addr
37+
record:
38+
- ioc abc
39+
- badurl null
40+
log_level: debug
41+
42+
outputs:
43+
- name: stdout
44+
match: test1
4545
```
4646
4747
{% endtab %}
4848
{% tab title="fluent-bit.conf" %}
4949
5050
```text
5151
[INPUT]
52-
name tail
53-
tag test1
54-
path test1.log
55-
read_from_head true
56-
parser json
52+
name tail
53+
tag test1
54+
path test1.log
55+
read_from_head true
56+
parser json
5757

5858
[FILTER]
59-
name checklist
60-
match test1
61-
file ip_list.txt
62-
lookup_key $remote_addr
63-
record ioc abc
64-
record badurl null
65-
log_level debug
59+
name checklist
60+
match test1
61+
file ip_list.txt
62+
lookup_key $remote_addr
63+
record ioc abc
64+
record badurl null
65+
log_level debug
6666

6767
[OUTPUT]
68-
name stdout
69-
match test1
68+
name stdout
69+
match test1
7070
```
7171

7272
{% endtab %}

0 commit comments

Comments
 (0)