Difference between revisions of "Fluentbit"
Jump to navigation
Jump to search
(Created page with "## docker-compose.yaml ``` version: "3.7" services: fluent-bit: image: fluent/fluent-bit volumes: - ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf ``` ##...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | # Syslog | ||
+ | |||
+ | # Docs | ||
+ | - https://docs.fluentbit.io/manual/pipeline/inputs/syslog | ||
+ | - https://docs.fluentbit.io/manual/local-testing/logging-pipeline | ||
+ | - https://docs.fluentbit.io/manual/pipeline/outputs/syslog | ||
+ | - https://docs.fluentbit.io/manual/pipeline/outputs | ||
+ | |||
## docker-compose.yaml | ## docker-compose.yaml | ||
``` | ``` | ||
Line 47: | Line 55: | ||
logger --udp --port 5140 -n 172.22.0.2 "Test message udp1" | logger --udp --port 5140 -n 172.22.0.2 "Test message udp1" | ||
``` | ``` | ||
+ | |||
+ | ## Sumo Logic | ||
+ | - https://help.sumologic.com/docs/send-data/hosted-collectors/http-source/otlp/ | ||
+ | - https://help.sumologic.com/docs/send-data/hosted-collectors/http-source/ | ||
+ | - https://github.com/SumoLogic/fluentd-output-sumologic |
Latest revision as of 16:22, 27 May 2023
Syslog
Docs
- https://docs.fluentbit.io/manual/pipeline/inputs/syslog
- https://docs.fluentbit.io/manual/local-testing/logging-pipeline
- https://docs.fluentbit.io/manual/pipeline/outputs/syslog
- https://docs.fluentbit.io/manual/pipeline/outputs
docker-compose.yaml
version: "3.7" services: fluent-bit: image: fluent/fluent-bit volumes: - ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf
fluent-bit.conf
[SERVICE] Flush 1 Parsers_File parsers.conf # [INPUT] # Name syslog # Parser syslog-rfc3164 # Path /tmp/fluent-bit.sock # Mode unix_udp # Unix_Perm 0644 [INPUT] Name syslog Parser syslog-rfc3164 Listen 0.0.0.0 Port 5140 Mode tcp [INPUT] Name syslog Parser syslog-rfc3164 Listen 0.0.0.0 Port 5140 Mode udp [OUTPUT] Name stdout Match *
Send some test messages
logger --tcp --port 5140 -n 172.22.0.2 "Test message tcp1" logger --udp --port 5140 -n 172.22.0.2 "Test message udp1"