Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
7aa19962
S
SkyWalking
项目概览
apache
/
SkyWalking
上一次同步 大约 1 年
通知
302
Star
21345
Fork
6091
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
7aa19962
编写于
6月 08, 2021
作者:
wu-sheng
提交者:
GitHub
6月 08, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Polich 8.6.0 doc (#7079)
上级
5eb10216
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
14 addition
and
12 deletion
+14
-12
.asf.yaml
.asf.yaml
+2
-0
docs/en/setup/backend/log-analyzer.md
docs/en/setup/backend/log-analyzer.md
+12
-12
未找到文件。
.asf.yaml
浏览文件 @
7aa19962
...
@@ -57,3 +57,5 @@ github:
...
@@ -57,3 +57,5 @@ github:
whatever
:
Just a placehold to make it take effects
whatever
:
Just a placehold to make it take effects
website-docs/8.5.0
:
website-docs/8.5.0
:
whatever
:
Just a placehold to make it take effects
whatever
:
Just a placehold to make it take effects
website-docs/8.6.0
:
whatever
:
Just a placehold to make it take effects
docs/en/setup/backend/log-analyzer.md
浏览文件 @
7aa19962
...
@@ -3,6 +3,17 @@
...
@@ -3,6 +3,17 @@
## Collecting
## Collecting
There are various ways to collect logs from application.
There are various ways to collect logs from application.
### Log files collector
You can use
[
Filebeat
](
https://www.elastic.co/cn/beats/filebeat
)
、
[
Fluentd
](
https://fluentd.org
)
to
collect file logs including to use Kafka MQ to transport
[
native-json
](
../../protocols/Log-Data-Protocol.md#Native-Json-Protocol
)
format logs. When use this, need to open
[
kafka-fetcher
](
backend-fetcher.md#kafka-fetcher
)
and enable configs
`enableNativeJsonLog`
.
Collector config examples:
-
[
filebeat.yml
](
../../../../test/e2e/e2e-test/docker/kafka/filebeat.yml
)
-
[
fluentd.conf
](
../../../../test/e2e/e2e-test/docker/kafka/fluentd.conf
)
### Java agent's toolkits
### Java agent's toolkits
Java agent provides toolkit for
Java agent provides toolkit for
[
log4j
](
../service-agent/java-agent/Application-toolkit-log4j-1.x.md
)
,
[
log4j
](
../service-agent/java-agent/Application-toolkit-log4j-1.x.md
)
,
...
@@ -14,8 +25,6 @@ to report logs through gRPC with automatic injected trace context.
...
@@ -14,8 +25,6 @@ to report logs through gRPC with automatic injected trace context.
forward logs including to use Kafka MQ to transport logs. When use this, need to open
[
kafka-fetcher
](
backend-fetcher.md#kafka-fetcher
)
forward logs including to use Kafka MQ to transport logs. When use this, need to open
[
kafka-fetcher
](
backend-fetcher.md#kafka-fetcher
)
and enable configs
`enableNativeProtoLog`
.
and enable configs
`enableNativeProtoLog`
.
### Log files collector
Java agent provides toolkit for
Java agent provides toolkit for
[
log4j
](
../service-agent/java-agent/Application-toolkit-log4j-1.x.md#print-skywalking-context-in-your-logs
)
,
[
log4j
](
../service-agent/java-agent/Application-toolkit-log4j-1.x.md#print-skywalking-context-in-your-logs
)
,
[
log4j2
](
../service-agent/java-agent/Application-toolkit-log4j-2.x.md#print-skywalking-context-in-your-logs
)
,
[
log4j2
](
../service-agent/java-agent/Application-toolkit-log4j-2.x.md#print-skywalking-context-in-your-logs
)
,
...
@@ -27,15 +36,6 @@ Log framework config examples:
...
@@ -27,15 +36,6 @@ Log framework config examples:
-
[
log4j2.x fileAppender
](
../../../../test/e2e/e2e-service-provider/src/main/resources/log4j2.xml
)
-
[
log4j2.x fileAppender
](
../../../../test/e2e/e2e-service-provider/src/main/resources/log4j2.xml
)
-
[
logback fileAppender
](
../../../../test/e2e/e2e-service-provider/src/main/resources/logback.xml
)
-
[
logback fileAppender
](
../../../../test/e2e/e2e-service-provider/src/main/resources/logback.xml
)
You can use
[
Filebeat
](
https://www.elastic.co/cn/beats/filebeat
)
、
[
Fluentd
](
https://fluentd.org
)
to
collect file logs including to use Kafka MQ to transport
[
native-json
](
../../protocols/Log-Data-Protocol.md#Native-Json-Protocol
)
format logs. When use this, need to open
[
kafka-fetcher
](
backend-fetcher.md#kafka-fetcher
)
and enable configs
`enableNativeJsonLog`
.
Collector config examples:
-
[
filebeat.yml
](
../../../../test/e2e/e2e-test/docker/kafka/filebeat.yml
)
-
[
fluentd.conf
](
../../../../test/e2e/e2e-test/docker/kafka/fluentd.conf
)
## Log Analyzer
## Log Analyzer
Log analyzer of OAP server supports native log data. OAP could use Log Analysis Language to
Log analyzer of OAP server supports native log data. OAP could use Log Analysis Language to
...
@@ -50,4 +50,4 @@ log-analyzer:
...
@@ -50,4 +50,4 @@ log-analyzer:
malFiles
:
${SW_LOG_MAL_FILES:""}
malFiles
:
${SW_LOG_MAL_FILES:""}
```
```
Read
[
Log Analysis Language
](
../../concepts-and-designs/lal.md
)
documentation to learn log structurize and metrics analysis.
Read
[
Log Analysis Language
](
../../concepts-and-designs/lal.md
)
documentation to learn log structurize and metrics analysis.
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录