create fluent-bit configure file fluent-bit.conf
[SERVICE]
Flush 2
Daemon Off
Log_Level debug
Parsers_File parsers.conf
[INPUT]
Name cpu
Interval_Sec 2
[Output]
Name redis
Match *
UseTLS false
TLSSkipVerify true
Hosts 192.168.101.88:6379
Password xxxx
DB 0
Key logstash
create file docker-compose.yml
version: '3'
services:
fluent-bit-redis:
image: zhufuyi/fluent-bit-redis:1.2.2
container_name: fluent-bit-redis
restart: always
volumes:
- ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf
start up fluent-bit
docker-compose up -d
Content type
Image
Digest
Size
28.3 MB
Last updated
about 7 years ago
docker pull zhufuyi/fluent-bit-redis