You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2021/06/21 01:21:19 UTC

[skywalking] branch log-doc created (now 4a2045d)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a change to branch log-doc
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


      at 4a2045d  Polish log doc

This branch includes the following new commits:

     new 4a2045d  Polish log doc

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[skywalking] 01/01: Polish log doc

Posted by wu...@apache.org.
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 <wu...@foxmail.com>
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