Enum Class KibanaLogFieldNames
- All Implemented Interfaces:
Serializable,Comparable<KibanaLogFieldNames>,Constable,KibanaLogField
This enum represents keys for data that is stored in the logging MDC.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe business transaction id.The call duration.The call id.The call request body.The call request headers.The call request method.The call request size.The call request uri.The call response body.The call response headers.The call response size.The call status.The call type.The host name.The level.The log location.THe log type.The log message.The request duration.The request id.The session id.The software version.The task id.The thread.The timestamp.The transaction duration.The transaction id.The transaction request body.The transaction request headers.The transaction request ip address.The transaction request method.The transaction request size.The transaction request uri.The transaction response body.The transaction response headers.The transaction response size.The transaction status.The transaction type.The username. -
Method Summary
Modifier and TypeMethodDescriptionstatic KibanaLogFieldNamesLookup method that does not throw an exception if the specified key is not found.Get the name with which this field will appear in the log.static KibanaLogFieldNamesReturns the enum constant of this class with the specified name.static KibanaLogFieldNames[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.hawaiiframework.logging.model.KibanaLogField
matches
-
Enum Constant Details
-
SESSION_ID
The session id. -
HOST_NAME
The host name. -
SOFTWARE_VERSION
The software version. -
REQUEST_ID
The request id. -
REQUEST_DURATION
The request duration. -
BUSINESS_TX_ID
The business transaction id. -
TX_ID
The transaction id. -
TX_TYPE
The transaction type. -
TX_REQUEST_IP
The transaction request ip address. -
TX_REQUEST_METHOD
The transaction request method. -
TX_REQUEST_URI
The transaction request uri. -
TX_REQUEST_SIZE
The transaction request size. -
TX_REQUEST_HEADERS
The transaction request headers. -
TX_REQUEST_BODY
The transaction request body. -
TX_RESPONSE_SIZE
The transaction response size. -
TX_RESPONSE_HEADERS
The transaction response headers. -
TX_RESPONSE_BODY
The transaction response body. -
TX_DURATION
The transaction duration. -
TX_STATUS
The transaction status. -
CALL_ID
The call id. -
CALL_TYPE
The call type. -
CALL_REQUEST_METHOD
The call request method. -
CALL_REQUEST_URI
The call request uri. -
CALL_REQUEST_SIZE
The call request size. -
CALL_REQUEST_HEADERS
The call request headers. -
CALL_REQUEST_BODY
The call request body. -
CALL_RESPONSE_SIZE
The call response size. -
CALL_RESPONSE_HEADERS
The call response headers. -
CALL_RESPONSE_BODY
The call response body. -
CALL_DURATION
The call duration. -
CALL_STATUS
The call status. -
TASK_ID
The task id. -
USER_NAME
The username. -
LOG_TYPE
THe log type. -
THREAD
The thread. -
LEVEL
The level. -
TIMESTAMP
The timestamp. -
LOG_LOCATION
The log location. -
MESSAGE
The log message.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getLogName
Description copied from interface:KibanaLogFieldGet the name with which this field will appear in the log.- Specified by:
getLogNamein interfaceKibanaLogField- Returns:
- the log name of the field
-
fromKey
Lookup method that does not throw an exception if the specified key is not found.- Parameters:
key- the key to look for- Returns:
- the MdcKey with the given name, or null
-