File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,27 @@ You can test logging pipelines locally to observe how they handles log messages.
4
4
5
5
## Create a configuration file
6
6
7
- Start by creating a [ Fluent Bit configuration file] ( ../administration/configuring-fluent-bit/classic-mode/configuration-file ) to test.
7
+ Start by creating one of the corresponding Fluent Bit configuration files to start testing.
8
+
9
+
10
+ {% tabs %}
11
+ {% tab title="fluent-bit.yaml" %}
12
+
13
+ ``` yaml
14
+ pipeline :
15
+ inputs :
16
+ - name : dummy
17
+ dummy : ' {"top": {".dotted": "value"}}'
18
+
19
+ outputs :
20
+ - name : es
21
+ host : elasticsearch
22
+ replace_dots : on
23
+ ` ` `
24
+
25
+ {% endtab %}
26
+ {% tab title="fluent-bit.conf" %}
8
27
9
- {% code title="fluent-bit.conf" %}
10
28
` ` ` text
11
29
[INPUT]
12
30
Name dummy
@@ -17,7 +35,9 @@ Start by creating a [Fluent Bit configuration file](../administration/configurin
17
35
Host elasticsearch
18
36
Replace_Dots On
19
37
```
20
- {% endcode %}
38
+
39
+ {% endtab %}
40
+ {% endtabs %}
21
41
22
42
## Use Docker Compose
23
43
@@ -59,4 +79,4 @@ To reset your index, run the following command:
59
79
60
80
` ` ` bash
61
81
curl -X DELETE "localhost:9200/fluent-bit?pretty"
62
- ```
82
+ ```
You can’t perform that action at this time.
0 commit comments