Created
January 20, 2022 10:47
-
-
Save khanetor/e88cc26dd899bd13d86f18dbbedba7ee to your computer and use it in GitHub Desktop.
Setup Fluent-bit with Elasticsearch backend and Kibana frontend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.9" | |
services: | |
elasticsearch: | |
image: elasticsearch:7.16.3 | |
environment: | |
- discovery.type=single-node | |
expose: | |
- 9200 | |
- 9300 | |
networks: | |
- fluent-net | |
kibana: | |
image: kibana:7.16.3 | |
ports: | |
- 5601:5601 | |
environment: | |
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200 | |
networks: | |
- fluent-net | |
fluent-bit: | |
image: fluent/fluent-bit:1.8 | |
command: /fluent-bit/bin/fluent-bit -i cpu -o es://elasticsearch:9200/cpu/metrics | |
networks: | |
- fluent-net | |
networks: | |
fluent-net: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment