Running a Pipeline Locally
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 which can serve as an example for testing other plugins locally.
Create a Configuration File
Refer to the Configuration File section to create a configuration to test.
fluent-bit.conf
:
Docker Compose
Use Docker Compose to run Fluent Bit (with the configuration file mounted) and Elasticsearch.
docker-compose.yaml
:
View indexed logs
To view indexed logs run:
To "start fresh", delete the index by running:
Last updated