This is an automated email from the ASF dual-hosted git repository. wusheng pushed a commit to branch log-doc in repository https://gitbox.apache.org/repos/asf/skywalking.git
commit 4a2045dad1d2e99528621c79375a099b7b238745 Author: Wu Sheng <[email protected]> AuthorDate: Mon Jun 21 09:21:00 2021 +0800 Polish log doc --- docs/en/setup/backend/log-analyzer.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/en/setup/backend/log-analyzer.md b/docs/en/setup/backend/log-analyzer.md index b323136..0f74467 100644 --- a/docs/en/setup/backend/log-analyzer.md +++ b/docs/en/setup/backend/log-analyzer.md @@ -8,12 +8,27 @@ There are various ways to collect logs from application. You can use [Filebeat](https://www.elastic.co/cn/beats/filebeat), [Fluentd](https://fluentd.org) and [FluentBit](http://fluentbit.io) to collect logs, and then transport the logs to SkyWalking OAP through Kafka or HTTP protocol, with the formats [Kafka JSON](../../protocols/Log-Data-Protocol.md#native-kafka-protocol) -or [HTTP JSON array](../../protocols/Log-Data-Protocol.md#http-api). When using Kafka protocol, you need to +or [HTTP JSON array](../../protocols/Log-Data-Protocol.md#http-api). + +#### Filebeat +Filebeat supports using Kafka to transport logs, you need to open [kafka-fetcher](backend-fetcher.md#kafka-fetcher) and enable configs `enableNativeJsonLog`. -Collector config examples: +Take the following filebeat config yaml as an example to set up Filebeat - [filebeat.yml](../../../../test/e2e/e2e-test/docker/kafka/filebeat.yml) + +#### Fluentd +Fluentd supports using Kafka to transport logs, you need to +open [kafka-fetcher](backend-fetcher.md#kafka-fetcher) and enable configs `enableNativeJsonLog`. + +Take the following filebeat config yaml as an example to set up Fluentd - [fluentd.conf](../../../../test/e2e/e2e-test/docker/kafka/fluentd.conf) + +#### Fluent-bit +Fluent-bit sends logs to OAP through HTTP(rest port) directly. +Point the output address to `restHost`:`restPort` of `receiver-sharing-server` or `core`(if `receiver-sharing-server` inactivated) + +Take the following filebeat config yaml as an example to set up Fluent-bit - [fluent-bit.conf](../../../../test/e2e/e2e-test/docker/log/fluent-bit) ### Java agent's toolkits
