"Two fluent-bit 테스트"의 두 판 사이의 차이

(새 문서: ==개요== ;two fluent-bit 테스트 <syntaxhighlight lang='bash'> cat <<EOF > fb1.conf [INPUT] Name dummy Dummy {"message": "custom dummy"} [OUTPUT] Name http Match *...)
 
 
13번째 줄: 13번째 줄:
   host  fb2
   host  fb2
   Port  9880
   Port  9880
  header_tag  FLUENT-TAG


[OUTPUT]
[OUTPUT]
38번째 줄: 37번째 줄:
docker logs fb2 -f
docker logs fb2 -f
</syntaxhighlight>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2025년 11월 4일 (화) 13:30 기준 최신판

1 개요[ | ]

two fluent-bit 테스트
cat <<EOF > fb1.conf
[INPUT]
  Name   dummy
  Dummy {"message": "custom dummy"}

[OUTPUT]
  Name   http
  Match  *
  host   fb2
  Port   9880

[OUTPUT]
  Name   stdout
  Match  *
EOF
cat <<EOF > fb2.conf
[INPUT]
  Name http
  Listen 0.0.0.0
  Port   9880
  
[OUTPUT]
  Name   stdout
  Match  *
EOF
docker network create fbnet
docker run -d --name fb1 --network fbnet -v `pwd`/fb1.conf:/fluent-bit/etc/fluent-bit.conf fluent/fluent-bit
docker run -d --name fb2 --network fbnet -v `pwd`/fb2.conf:/fluent-bit/etc/fluent-bit.conf fluent/fluent-bit
docker logs fb2 -f

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}