Loading [MathJax]/jax/output/CommonHTML/config.js
前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >Logstash 处理 Mongod Log1

Logstash 处理 Mongod Log1

作者头像
franket
发布于 2022-01-19 03:25:14
发布于 2022-01-19 03:25:14
2880
举报
文章被收录于专栏:技术杂记技术杂记

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") 来查看和设定日志级别

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
暂无评论
推荐阅读
编辑精选文章
换一批
MongoDB中的日志模块
每种数据库都有自己的日志模块,MongoDB也不例外,通常情况下,一个数据库的日志中,记录的是数据库的连接信息、存储信息、网络信息、索引信息以及查询信息等。从MongoDB3.0版本开始,MongoDB在日志中引入了日志等级和日志组件的概念,作为DBA来讲,关注的最多的应该是慢查询日志和连接日志。
AsiaYe
2021/04/22
1.5K0
MongoDB中的日志模块
MongoDB 慢日志字段解析
随带一提,可以通过配置文件和db.setLogLevel()命令来设置整体的以及每个组件的日志级别。
phoenix、
2020/10/10
5.5K0
MongoDB 慢日志字段解析
MONGODB 存储文件碾压MYSQL 与 配置文件学习
​故事的这样说起,我们的软件外包商,在软件开发中将一些文件存入了MYSQL 十几行的数据竟然占据了几十GB 的存储空间,数据库的内存是一直告急. 在我们DB发现这个问题的时候,已经有点晚了, 估计这时候有人说,哎你怎么不管,在早期,实际上各种原因可能DB 不能早期介入一些设计,或者根本没有精力来介入到这些设计当中,导致这样的问题.
AustinDatabases
2021/01/22
7690
opensciencegrid - GridFTP 安装
最近配置一个GridFTP 用于测试其传输FTP性能, 在这里简单记录,备忘;使用本教程可以简单起一个GridFTP用于测试服务;
西湖醋鱼
2020/12/30
1K0
Logstash 处理 Mongod Log2
我们比较关心操作时长,希望可以将这个信息收集进来,这个信息在最后一部分包含,有些内容包含,有些不包含
franket
2022/01/19
2630
MongoDB日常运维操作命令小结
总所周知,MongoDB是一个NoSQL非数据库系统,即一个数据库可以包含多个集合(Collection),每个集合对应于关系数据库中的表;而每个集合中可以存储一组由列标识的记录,列是可以自由定义的,非常灵活,由一组列标识的实体的集合对应于关系数据库表中的行。下面通过熟悉MongoDB的基本管理命令,来了解MongoDB提供的DBMS的基本功能和行为。 0)MongoDB的安装 [root@centos6-vm01 ~]# curl -O https://fastdl.mongodb.org/linux/m
洗尽了浮华
2018/01/23
7K0
linux 命令中英文对照,收集
听说markdown排版得用浏览器打开,点击最下面的阅读原文也可以! Is Linux CLI case-sensitive? The answer is, yes. If you try to ru
生信技能树
2018/03/05
2.3K0
云计算第七章
The following cloud infrastructure mechanisms are described in this chapter: --Logical Network Perimeter 逻辑网络边界 --Virtual Server 虚拟服务器 --Cloud Storage Device 云存储设备 --Cloud Usage Monitor 云使用监控 --Resource Replication 资源复制 --Ready-Made Environment 已就绪环境 they should be viewed as core components that are common to cloud platforms.
愷龍
2022/09/26
6070
云计算第七章
ICOM6012 Topic 3 Application Layer
Client-Server Architecture (The Centralized Internet)
pseudoyu
2023/04/11
3160
ICOM6012 Topic 3 Application Layer
CNCF LFX项目2021年春季学期现正开放!立即申请指导机会!
CNCF再次非常兴奋地参加即将到来的LFX[1](之前的CommunityBridge)春季学期,学期从3月1日到5月31日。我们有15个毕业、孵化和沙箱项目,其中有35个项目创意可供学员使用。LFX与谷歌Summer of Code和Outreachy类似,它是一个平台,为有兴趣参与开源项目的开发人员提供带薪实习和指导的机会。
CNCF
2021/02/23
7360
Kafka-6.配置-Kafka Connect Configs
3.5 Kafka Connect Configs 下面是Kafka Connect 框架的配置: NAME DESCRIPTION TYPE DEFAULT VALID VALUES IMPORTANCE config.storage.topic The name of the Kafka topic where connector configurations are stored string high group.id A unique string that identifies the Co
悠扬前奏
2019/06/11
1.9K2
非典型 K8S证书过期导致系统无法访问(服务器时间导致)
由于现场kubectl命令无法使用,只好使用docker查看日志,优先查看kube-apiserver日志
编码如写诗
2024/10/10
1380
非典型 K8S证书过期导致系统无法访问(服务器时间导致)
数据仓库,就不是数据库了吗?
A database is a collection of related data which represents some elements of the real world. It is designed to be built and populated with data for a specific task. It is also a building block of your data solution.
Lenis
2019/12/25
7340
数据仓库,就不是数据库了吗?
Android Permission中英对照
android.permission.ACCESS_CHECKIN_PROPERTIES Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded 允许读写访问 "properties"表在checkin数据库中,改值可以修改上传 android.permission.ACCESS_COARSE_LOCATION Allows an applic
欢醉
2018/01/22
8500
VCS学习笔记
VERITAS Cluster Server(VCS) connects, or clusters, multiple, independent systems into a management framework for increased availability. Each system, or node, runs its own operating system and cooperates at the software level to form a cluster. VCS links commodity hardware with intelligent software to provide application failover and control. When a node or a monitored application fails, other nodes can take predefined action to take over and bring up services elsewhere in the cluster.
数据和云01
2018/09/05
9100
general_log 问题处理8
Selecting General Query and Slow Query Log Output Destinations
franket
2022/03/21
5110
分布式系统的一些阅读笔记
distributed systems high level:scalability, availability, performance, latency and fault tolerance CAP theorem and the FLP impossibility result. time and order the replication problem:preventing divergence and accepting divergence 注意: Most things are trivial at a small scale - and the same problem becomes much harder once you surpass a certain size, volume or other physically constrained thing. Scalability: is the ability of a system, network, or process, to handle a growing amount of work in a capable manner or its ability to be enlarged to accommodate that growth. 一共有三种: Size scalability: adding more nodes should make the system linearly faster; growing the dataset should not increase latency Geographic scalability: it should be possible to use multiple data centers to reduce the time it takes to respond to user queries, while dealing with cross-data center latency in some sensible manner. Administrative scalability: adding more nodes should not increase the administrative costs of the system (e.g. the administrators-to-machines ratio). 当然这三可遇不可求,比如Geographic scalability也就google的spanner Performance: is characterized by the amount of useful work accomplished by a computer system compared to the time and resources used. 有三个标准: Short response time/low latency for a given piece of work High throughput (rate of processing work) Low utilization of computing resource(s) Availability (and fault tolerance): the proportion of time a system is in a functioning condition. If a user cannot access the system, it is said to be unavailable. 备注:Distributed systems can take a bunch of unreliable components, and build a reliable system on top of them. Availability = uptime / (uptime + downtime). Fault tolerance: ability of a system to behave in a well-defined manner once faults occur 分布式系统的两个限制因素: the number of nodes (which increases with the required storage and computation capacity) the distance between nodes (information travels, at best, at the speed of light) 比如: an increase in the number of independent nodes increases
哒呵呵
2018/08/06
6530
serverStatus详解
serverStatus命令返回一个文档,该文档提供数据库状态的概述。监控应用程序可以定期运行此命令收集有关该实例的统计信息。
MongoDB中文社区
2019/04/22
3K0
serverStatus详解
Oracle Tuning 基础概述01 - Oracle 常见等待事件 log file sync log buffer space log file switch log file para
对Oracle数据库整体性能的优化,首先要关注的是在有性能问题时数据库排名前几位等待事件是哪些。Oracle等待事件众多,随着版本的升级,数量还在不断增加,可以通过vevent_name查到当前数据库版本包含的等待事件。例如我在Linux平台查11.2.0.4版本的Oracle是有1367个等待事件。SELECT name FROM VEVENT_NAME ORDER BY name; 如此多的等待事件自然是要分类汇总,并对常见的等待事件有比较深入的认识,才能在Oracle数据库调优这条路上走的更远。本文先将官方文档中的等待事件的相关知识汇总出来,对需要说明的部分会根据个人的理解给予必要的解释。如对哪个等待事件有疑惑,也欢迎回帖参与讨论。
Alfred Zhao
2023/08/24
7020
2019-08-17 awesome-java,JAVA开发的武器库
A curated list of awesome Java frameworks, libraries and software.
Albert陈凯
2019/11/15
2.1K0
相关推荐
MongoDB中的日志模块
更多 >
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档