Configuration
To configure REST output for logging or server events, go to Admin > System Admin > Manager Configuration > Logging > Log to REST or Server Events to REST. This feature is only supported for Managers, and not Drivers or Engines.
Log Message to REST Configuration
The following properties related to sending log messages to a REST endpoint:
|
Name |
Description |
Default |
|||||||||
|
Enabled |
If sending log messages to REST is enabled. |
false |
|||||||||
|
Server URL |
The complete URL path of the location that receives the log messages. The following substitution variables are supported:
For example, |
|
|||||||||
|
Username |
User name, if using Basic Auth. |
||||||||||
|
Password |
Password, if using Basic Auth. |
|
|||||||||
|
Max Log Level |
The highest level of messages that is logged. This can only be used to restrict what is logged to the server from the default settings. Typically this is set to |
|
|||||||||
|
Backlog |
The number of messages that can be queued for send. |
1000 |
|||||||||
|
Discard when Backlogged |
If true, subsequent messages are discarded when the backlog is reached. Otherwise, the caller is blocked. |
|
|||||||||
|
Timestamp format |
The format of the 'timestamp' property |
|
|||||||||
|
Time Zone |
The time zone of the time stamp, currently only GMT and default time zone is supported. |
||||||||||
|
Excluded LogRecord Properties |
A comma-delimited list of properties of the Java |
|
|||||||||
|
HTTP Timeout |
The connect and read HTTP timeouts, in milliseconds |
5000 |
Server Event to REST Configuration
The following properties related to sending server events to a REST endpoint
|
Property |
Description |
Default |
|||||||||
|
Enabled |
If sending server events to REST is enabled. |
false |
|||||||||
|
Server URL |
The complete URL path of the location that receives the log messages. The following substitution variables are supported:
For example, |
|
|||||||||
|
Username |
User name, if using Basic Auth. |
||||||||||
|
Password |
Password, if using Basic Auth. |
|
|||||||||
|
Backlog |
The number of messages that can be queued for send. |
1000 |
|||||||||
|
Discard when Backlogged |
If true, subsequent messages are discarded when the backlog is hit. Otherwise, the caller blocks. |
false |
|||||||||
|
Timestamp format |
The format of the 'timestamp' property |
|
|||||||||
|
Time Zone |
The time zone of the time stamp, currently only GMT and default time zone is supported. |
||||||||||
|
Excluded Events |
A comma-delimited list of integer event types that are excluded. |
||||||||||
|
Include Type |
If true, the integer event type is included in the message. |
true |
|||||||||
|
Include Name |
If true, the event name is included. For example, |
false |
|||||||||
|
HTTP Timeout |
The connect and read HTTP timeouts, in milliseconds |
5000 |