Logstash 处理 Mongod Log1

2022-01-19 11:25:14 浏览数 (1)

Timestamp

默认是使用的 iso8601-local

Severity Levels

Level

Description

F

Fatal

E

Error

W

Warning

I

Informational, for Verbosity Level of 0

D

Debug, for All Verbosity Levels > 0

Components

Item

Description

ACCESS

Messages related to access control, such as authentication

COMMAND

Messages related to database commands, such as count

CONTROL

Messages related to control activities, such as initialization

GEO

Messages related to the parsing of geospatial shapes, such as verifying the GeoJSON shapes

INDEX

Messages related to indexing operations, such as creating indexes

NETWORK

Messages related to network activities, such as accepting connections

QUERY

Messages related to queries, including query planner activities

REPL

Messages related to replica sets, such as initial sync and heartbeats

SHARDING

Messages related to sharding activities, such as the startup of the mongos

STORAGE

Messages related to storage activities, such as processes involved in the fsync command

JOURNAL

Messages related specifically to journaling activities

WRITE

Messages related to write operations, such as update commands

-

Messages not associated with a named component

Tip: 使用 db.getLogComponents()db.setLogLevel(-1, "query") 来查看和设定日志级别

0 人点赞