阿里云日志的字段含义解析
_@target_index: pilipa-accounting-morgan
_@timestamp: 2018-08-09T11:01:00.694+08:00
_@version: 1
//这三个是Spring Cloud Sleuth里面的,也可能是Kubernetes上的服务网格 Istio里面的
_X-B3-SpanId: b8bc4986b595942a
_X-B3-TraceId: b8bc4986b595942a
_X-Span-Export: false
__source__: 172.20.6.2 //私有B类ip地址
类别
|
最大网络数
|
IP地址范围
|
最大主机数
|
私有IP地址范围 |
A
|
126(2^7-2)
|
0.0.0.0-127.255.255.255
|
16777214
|
10.0.0.0-10.255.255.255
|
B
|
16384(2^14)
|
128.0.0.0-191.255.255.255 |
65534
|
172.16.0.0-172.31.255.255 |
C
|
2097152(2^21)
|
192.0.0.0-223.255.255.255 |
254
|
192.168.0.0-192.168.255.255 |
__tag__:__hostname__: logtail-ds-9gv28
__topic__:
_container_name_: pilipa-agent3-accounting-morgan //容器的名字,不太清楚和_image_name_的区别
_level: DEBUG
_level_value: 10000
_logger_name: cn.pilipa.morgan.client.OAuth2Client //打印日志的类
_message: [OAuth2Client#getProfile] ---> GET http://authentication-server/ua/api/user/me HTTP/1.1 //打印日志的方法
_namespace_: agent3
_pod_name_: pilipa-agent3-accounting-morgan-6f586b4c8b-cfvvc
_pod_uid_: fde81ff6-9b0b-11e8-8568-00163e1095e1
_source_: stdout
_spanExportable: false
_spanId: b8bc4986b595942a
_thread_name: http-nio-9997-exec-9 //
_time_: 2018-08-09T03:01:00.695021759Z
_traceId: b8bc4986b595942a