Show configuration details of a log file

Purpose

Displays configuration details of a log file.

URI

To display the configuration details of a log file, use theEclipse Amlen REST API GET method with the followingEclipse Amlen configuration URI:
http://admin-endpoint-IP:Port/ima/v1/configuration/<LogType> 

Object configuration data

Provide a value for the type of log that you want to view:

LogType
Specifies the type of log file that you want to view.
This value can be one of the following values: LogLevel, ConnectionLog, SecurityLog, AdminLog, and MQConnectivityLog.

Usage Notes®

  • A logging level of MIN is the lowest logging level and includes only the most important entries.
  • A logging level of MAX is the highest logging level and includes all entries. At this level, all messages are recorded in the log files.
  • A logging level of NORMAL includes all important entries.
  • The log file contents are displayed on screen. For more information about the log files, see Log files.
  • For reporting problems to IBM® Support, use the platform must-gather command.

Example

List the configuration details of the security log file:
curl -X GET  http://127.0.0.1:9089/ima/v1/configuration/SecurityLog

{
  "Version": "v1",
  "SecurityLog": "NORMAL"
}