View Log Utility
The View Log utility is used to view a log of the object groups and governance controls deployed by the application. The default location of the View Log utility is <TIBCO_HOME>\amx\<version_number>\bin.
Run the command, viewlog, with one or more of the default parameters:
- -host: Provide a hostname.
- -port: Provide a port number.
- -username: Provide a username of the ActiveMatrix Policy Director Governance administrator.
- -password: Provide the password of the ActiveMatrix Policy Director Governance administrator.
- -propFile: Provide the path to remote_props.properties. Make sure that the properties file contains information about the Trust Store File location, Type and alias password for the Key.
- -after: Use this filter to view logs after a certain time period. The duration is in the yyyy-MM-dd HH:mm:ss or yyyy-MM-dd format.
- -before: Use this filter to view logs before a certain time period. The duration is in the yyyy-MM-dd HH:mm:ss or yyyy-MM-dd format.
- -logRecordID: Provide a recordID to retrieve logs related to the record.
- -pageSize: Provide the number of the log records shown per page.
- -pageIndexProvide a page index.
- -governedObjectID: Provide a governed object ID to view logs related to a specific governed object.
- -phase: The phase can be one of the following: All, request, Response, or Fault.
- -operation: Use this filter to view logs related to an operation.
- -responseTime: Provide a response time in seconds. You can use >, >=, <, <=, = with a number to retrieve records matching the criteria.
- -timeout: Provide the time out interval in seconds. The utility times out with a time out error.
- -sortby: The sorting filter depends on the parameters you have used with the view log utility. You can sort logs by governed object ID, operation, response time, and creation. Use asc or desc with this filter to sort results in an ascending or descending order.
- -details
Using Logging Policy with ActiveMatrix Policy Director Governance Administrator over SSL
If ActiveMatrix Policy Director Governance administrator is configured over SSL (https), set the following properties in the file, <TIBCO_HOME>/administrator/<version>/samples/remote_props.properties:
adminURL=https://localhost:8120 username=root password=t httpConnectionTimeout=360000 # Admin trust store setting for SSL, variable is not allowed javax.net.ssl.trustStore=C:/trustStore.jks javax.net.ssl.trustStoreType=jks javax.net.ssl.trustStorePassword=password
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.