You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: local-testing/logging-pipeline.md
+14-13
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,12 @@
1
-
# Running a Logging Pipeline Locally
1
+
# Run a logging pipeline locally
2
2
3
-
You may wish to test a logging pipeline locally to observe how it deals with log messages. The following is a walk-through for running Fluent Bit and Elasticsearch locally with [Docker Compose](https://docs.docker.com/compose/)which can serve as an example for testing other plugins locally.
3
+
You can test logging pipelines locally to observe how they handles log messages. This guide explains how to use [Docker Compose](https://docs.docker.com/compose/)to run Fluent Bit and Elasticsearch locally, but you can use the same principles to test other plugins.
4
4
5
-
## Create a Configuration File
5
+
## Create a configuration file
6
6
7
-
Refer to the [Configuration File section](https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file) to create a configuration to test.
8
-
9
-
`fluent-bit.conf`:
7
+
Start by creating a [Fluent Bit configuration file](/administration/configuring-fluent-bit/classic-mode/configuration-file) to test.
10
8
9
+
{% code title="fluent-bit.conf" %}
11
10
```text
12
11
[INPUT]
13
12
Name dummy
@@ -18,13 +17,13 @@ Refer to the [Configuration File section](https://docs.fluentbit.io/manual/admin
18
17
Host elasticsearch
19
18
Replace_Dots On
20
19
```
20
+
{% endcode %}
21
21
22
-
## Docker Compose
23
-
24
-
Use [Docker Compose](https://docs.docker.com/compose/) to run Fluent Bit \(with the configuration file mounted\) and Elasticsearch.
22
+
## Use Docker Compose
25
23
26
-
`docker-compose.yaml`:
24
+
Use [Docker Compose](https://docs.docker.com/compose/) to run Fluent Bit (with the configuration file mounted) and Elasticsearch.
0 commit comments