This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.第 11 章 Exported fields
These are the fields exported by the logging system and available for searching from Elasticsearch and Kibana. Use the full, dotted field name when searching. For example, for an Elasticsearch /_search URL, to look for a Kubernetes pod name, use /_search/q=kubernetes.pod_name:name-of-my-pod.
The following sections describe fields that may not be present in your logging store. Not all of these fields are present in every record. The fields are grouped in the following categories:
-
exported-fields-Default -
exported-fields-systemd -
exported-fields-kubernetes -
exported-fields-pipeline_metadata -
exported-fields-ovirt -
exported-fields-aushape -
exported-fields-tlog
11.1. Default exported fields 复制链接链接已复制到粘贴板!
These are the default fields exported by the logging system and available for searching from Elasticsearch and Kibana. The default fields are Top Level and collectd*
Top Level Fields
The top level fields are common to every application, and may be present in every record. For the Elasticsearch template, top level fields populate the actual mappings of default in the template’s mapping section.
| Parameter | Description |
|---|---|
|
|
The UTC value marking when the log payload was created, or when the log payload was first collected if the creation time is not known. This is the log processing pipeline’s best effort determination of when the log payload was generated. Add the |
|
| This is geo-ip of the machine. |
|
|
The |
|
| The IP address V4 of the source server, which can be an array. |
|
| The IP address V6 of the source server, if available. |
|
|
The logging level as provided by rsyslog (severitytext property), python’s logging module. Possible values are as listed at
. You should only use
Numeric values from Log levels and priorities from other logging systems should be mapped to the nearest match. See python logging for an example. |
|
| A typical log entry message, or payload. It can be stripped of metadata pulled out of it by the collector or normalizer, that is UTF-8 encoded. |
|
| This is the process ID of the logging entity, if available. |
|
|
The name of the service associated with the logging entity, if available. For example, the |
|
| Optionally provided operator defined list of tags placed on each log by the collector or normalizer. The payload can be a string with whitespace-delimited string tokens, or a JSON list of string tokens. |
|
|
Optional path to the file containing the log entry local to the collector |
|
| The offset value can represent bytes to the start of the log line in the file (zero or one based), or log line numbers (zero or one based), as long as the values are strictly monotonically increasing in the context of a single log file. The values are allowed to wrap, representing a new version of the log file (rotation). |
|
|
Associate this record with the |
|
|
This is the |
collectd Fields
The following fields represent namespace metrics metadata.
| Parameter | Description |
|---|---|
|
| type: float
The |
|
| type: string
The |
|
| type: string
The |
|
| type: string
The |
|
| type: string
The |
|
| type: string
The |
collectd.processes Fields
The following field corresponds to the collectd processes plug-in.
| Parameter | Description |
|---|---|
|
|
type: integer The |
collectd.processes.ps_disk_ops Fields
The collectd ps_disk_ops type of processes plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
collectd.processes.ps_cputime Fields
The collectd ps_cputime type of processes plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.processes.ps_count Fields
The collectd ps_count type of processes plug-in.
| Parameter | Description |
|---|---|
|
| type: integer
|
|
| type: integer
|
collectd.processes.ps_pagefaults Fields
The collectd ps_pagefaults type of processes plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.processes.ps_disk_octets Fields
The collectd ps_disk_octets type of processes plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
|
| type: float
The |
collectd.disk Fields
Corresponds to collectd disk plug-in.
collectd.disk.disk_merged Fields
The collectd disk_merged type of disk plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.disk.disk_octets Fields
The collectd disk_octets type of disk plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.disk.disk_time Fields
The collectd disk_time type of disk plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.disk.disk_ops Fields
The collectd disk_ops type of disk plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
|
| type: integer
The |
collectd.disk.disk_io_time Fields
The collectd disk_io_time type of disk plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.interface Fields
Corresponds to the collectd interface plug-in.
collectd.interface.if_octets Fields
The collectd if_octets type of interface plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.interface.if_packets Fields
The collectd if_packets type of interface plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.interface.if_errors Fields
The collectd if_errors type of interface plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.interface.if_dropped Fields
The collectd if_dropped type of interface plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.virt Fields
Corresponds to collectd virt plug-in.
collectd.virt.if_octets Fields
The collectd if_octets type of virt plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.virt.if_packets Fields
The collectd if_packets type of virt plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.virt.if_errors Fields
The collectd if_errors type of virt plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.virt.if_dropped Fields
The collectd if_dropped type of virt plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.virt.disk_ops Fields
The collectd disk_ops type of virt plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
collectd.virt.disk_octets Fields
The collectd disk_octets type of virt plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
|
| type: float
The |
|
| type: float
The |
|
| type: float
The |
collectd.CPU Fields
Corresponds to the collectd CPU plug-in.
| Parameter | Description |
|---|---|
|
| type: float
The |
collectd.df Fields
Corresponds to the collectd df plug-in.
| Parameter | Description |
|---|---|
|
| type: float
The |
|
| type: float
The |
collectd.entropy Fields
Corresponds to the collectd entropy plug-in.
| Parameter | Description |
|---|---|
|
| type: integer
The |
collectd.memory Fields
Corresponds to the collectd memory plug-in.
| Parameter | Description |
|---|---|
|
| type: float
The |
|
| type: float
The |
collectd.swap Fields
Corresponds to the collectd swap plug-in.
| Parameter | Description |
|---|---|
|
| type: integer
The |
|
| type: integer
The |
collectd.load Fields
Corresponds to the collectd load plug-in.
collectd.load.load Fields
The collectd load type of load plug-in
| Parameter | Description |
|---|---|
|
| type: float
|
|
| type: float
|
|
| type: float
|
collectd.aggregation Fields
Corresponds to collectd aggregation plug-in.
| Parameter | Description |
|---|---|
|
| type: float
|
collectd.statsd Fields
Corresponds to collectd statsd plug-in.
| Parameter | Description |
|---|---|
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
collectd.postgresql Fields
Corresponds to collectd postgresql plug-in.
| Parameter | Description |
|---|---|
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |
|
| type: integer
The |