Skip to main content

logging (instance statistics)

The logging resource contains information about the resources consumed during various AMPS logging processes. Selecting a logging mechanism (console, file or syslog) will first list all logs of that particular type. Drilling down into one of those logs will pull up more granular information about logging. If a logging mechanism is not defined in the configuration, then the results will be blank when the logging resource is selected.

Statistics Database Tables: ICONSOLE_LOGGERS_STATIC, ICONSOLE_LOGGERS_DYNAMIC, IFILE_LOGGERS_STATIC, IFILE_LOGGERS_DYNAMIC, ISYSLOG_LOGGERS_STATIC, ISYSLOG_LOGGERS_DYNAMIC

Admin Path: /amps/instance/logging/<type>/<identifier>/<metric>

console

Below are the options available for reporting when console logging is enabled:

MetricDescriptionType
bytes_writtenNumber of bytes written to the console.cumulative
exclude_errorsErrors which are excluded from logging.fixed
include_errorsErrors which are included during logging.fixed
log_levelsLog level used to control logging output.fixed
target

Console to which logging output is directed.

Default: stdout

fixed

file

Below are the options available for reporting when file logging is enabled:

MetricDescriptionType
bytes_writtenNumber of bytes written to the log.cumulative
exclude_errorsErrors which are excluded from logging.fixed
file_nameFile defined in the configuration file where the log file is written to.fixed
file_name_maskMask of the logging output file name, if available.fixed
file_system_free_percentPercentage of free space on the file system that contains the file.snapshot
include_errorsErrors which are included during logging.fixed
log_levelsLog level used to control logging output.fixed
rotationBoolean representation denoting if log rotation is turned on.fixed
rotation_thresholdLog size at which log rotation will occur.fixed

syslog

Below are the options available for reporting when syslog logging is enabled:

MetricDescriptionType
bytes_writtenNumber of bytes written to syslog.cumulative
exclude_errorsErrors which are excluded from logging.fixed
facilityInteger enumeration of the logging facility used by syslog.fixed
identSyslog name of the logging instance.fixed
include_errorsErrors which are included during logging.fixed
log_levelsLog level used to control logging output.fixed
logopt

Bitfield of possible log options included.

These values are configured in the configuration file in the <Options> tag.

fixed