逗号分隔的字段列表,这些字段应该包括在输出中。这只对通常会显示所有字段的输出模式有影响(verbose、export、json、 json-pretty、json-sse 和 json-seq);同时,"CURSOR"、"REALTIME_TIMESTAMP"、"__MONOTONIC_TIMESTAMP "和"_BOOT_ID "字段是固定输出的。 字段含义可通过man 7 systemd.journal-fields来查看。 ...
#SystemMaxFileSize= #RuntimeMaxUse= #RuntimeKeepFree= #RuntimeMaxFileSize= #MaxRetentionSec= #MaxFileSec=1month #ForwardToSyslog=yes #ForwardToKMsg=no #ForwardToConsole=no #ForwardToWall=yes #TTYPath=/dev/console #MaxLevelStore=debug #MaxLevelSyslog=debug #MaxLevelKMsg=notice #MaxLevelConso...
file path refers to an executable file, this is equivalent to an "_EXE=" match for the canonicalized binary path. Similarly, if a path refers to a device node then match is added for the kernel name of the device ("_KERNEL_DEVICE="). Also, matches for the kernel names of all the ...
short-iso, short-iso-precise, short-full, short-monotonic, short-unix, verbose,export, json, json-pretty, json-sse,cat, with-unit) --output-fields=LIST Select fields to printinverbose/export/json modes --utcExpress timeinCoordinated Universal Time (UTC) -x--catalogAdd message explanations w...
(short, short-precise, short-iso, short-iso-precise, short-full, short-monotonic, short-unix, verbose, export, json, json-pretty, json-sse, cat, with-unit) --output-fields=LIST Select fields to print in verbose/export/json modes --utc Express time in Coordinated Universal Time (UTC) -...
export 将日志序列化为二进制字节流(大部分依然是文本) 以适用于备份与网络传输(详见 Journal Export Format[2] 文档)。 json 将日志项按照JSON数据结构格式化, 每条日志一行(详见 Journal JSON Format[3] 文档)。 json-pretty 将日志项按照JSON数据结构格式化, 但是每个字段一行, 以便于人类阅读。
export: 适合传输或备份的二进制格式。 json: 标准JSON,每行一个条目。 json-pretty: JSON格式,适合人类阅读习惯。 json-sse: JSON格式,经过打包以兼容server-sent事件。 short: 默认syslog类输出格式。 short-iso: 默认格式,强调显示ISO 8601挂钟时间戳。
file path refers to an executable file, this is equivalent to an "_EXE=" match for the canonicalized binary path. Similarly, if a path refers to a device node then match is added for the kernel name of the device ("_KERNEL_DEVICE="). Also, matches for the kernel ...
export¶ 将日志序列化为二进制字节流 (大部分依然是文本), 以适用于备份与网络传输(详见Journal Export Format文档)。亦可使用systemd-journal-remote.service(8)工具将二进制字节流转换为本地 journald 格式。 json¶ 将日志项格式化为 JSON 对象,并用换行符分隔(也就是每条日志一行,详见Journal JSON Format文...
export: 适合传输或备份的二进制格式。json: 标准JSON,每行一个条目。json-pretty: JSON格式,适合人类阅读习惯。json-sse: JSON格式,经过打包以兼容server-sent事件。short: 默认syslog类输出格式。short-iso: 默认格式,强调显示ISO 8601挂钟时间戳。short-monotonic: 默认格式,提供普通时间戳。short-precise: 默认...