-
public class LogAttributesThis class holds constant log attribute keys.
You can find more information on Datadog's log attributes at https://docs.datadoghq.com/logs/processing/attributes_naming_convention/ .
-
-
Field Summary
-
Method Summary
Modifier and Type Method Description final StringgetAPPLICATION_PACKAGE()The package name of the application. final StringgetAPPLICATION_VERSION()The human readable version of the application. final StringgetENV()The custom environment name. final StringgetDATE()The date when the log is fired as an ISO-8601 String. final StringgetDB_INSTANCE()Database instance name. final StringgetDB_OPERATION()The operation that was performed (“query”, “update”, “delete”,…). final StringgetDB_STATEMENT()A database statement for the given database type. final StringgetDB_USER()User that performs the operation. final StringgetDD_SPAN_ID()The id of the active Span. final StringgetDD_TRACE_ID()The id of the active Trace. final StringgetDURATION()A duration of any kind in nanoseconds. final StringgetERROR_KIND()The error type or kind (or code is some cases). final StringgetERROR_MESSAGE()A concise, human-readable, one-line message explaining the event (String) This value is filled automatically by the Logger when you pass in a Throwable. final StringgetERROR_STACK()The stack trace or the complementary information about the error (String) This value is filled automatically by the Logger when you pass in a Throwable. final StringgetHOST()The name of the originating host as defined in metrics. final StringgetHTTP_METHOD()Indicates the desired action to be performed for a given resource. final StringgetHTTP_REFERRER()HTTP header field that identifies the address of the web page that linked to the resource being requested. final StringgetHTTP_REQUEST_ID()The ID of the HTTP request. final StringgetHTTP_STATUS_CODE()The HTTP response status code. final StringgetHTTP_URL()The URL of the HTTP request. final StringgetHTTP_USERAGENT()The User-Agent as it is sent (raw format). final StringgetHTTP_VERSION()The version of HTTP used for the request. final StringgetLOGGER_METHOD_NAME()The class method name. final StringgetLOGGER_NAME()The name of the logger. final StringgetLOGGER_THREAD_NAME()The name of the current thread when the log is fired. final StringgetLOGGER_VERSION()The version of the logger. final StringgetMESSAGE()The body of the log entry. final StringgetNETWORK_CARRIER_ID()The unique id of the Carrier attached to the SIM card. final StringgetNETWORK_CARRIER_NAME()The name of the Carrier attached to the SIM card. final StringgetNETWORK_CLIENT_IP()The IP address of the client that initiated the TCP connection. final StringgetNETWORK_CLIENT_PORT()The port of the client that initiated the connection. final StringgetNETWORK_CONNECTIVITY()The connectivity status of the device. final StringgetNETWORK_DOWN_KBPS()The downstream bandwidth for the current network in Kbps. final StringgetNETWORK_SIGNAL_STRENGTH()The bearer specific signal strength. final StringgetNETWORK_UP_KBPS()The upstream bandwidth for the current network in Kbps. final StringgetRUM_APPLICATION_ID()The RUM Application ID. final StringgetRUM_SESSION_ID()The id of the active RUM session. final StringgetRUM_VIEW_ID()The id of the active RUM View. final StringgetRUM_ACTION_ID()The id of the active RUM Action. final StringgetSERVICE_NAME()The name of the application or service generating the log events. final StringgetSOURCE()The technology from which the log originated. final StringgetSTATUS()The level/severity of a log. final StringgetUSR_EMAIL()The user email. final StringgetUSR_ID()The user identifier. final StringgetUSR_NAME()The user friendly name. final StringgetVARIANT()The application variant. -
-
Method Detail
-
getAPPLICATION_PACKAGE
final String getAPPLICATION_PACKAGE()
The package name of the application. (String) This value is extracted from your application's manifest and filled automatically by the Logger.
-
getAPPLICATION_VERSION
final String getAPPLICATION_VERSION()
The human readable version of the application. (String) This value is extracted from your application's manifest and filled automatically by the Logger.
-
getENV
final String getENV()
The custom environment name. (Number) This value is filled automatically by the Logger.
-
getDATE
final String getDATE()
The date when the log is fired as an ISO-8601 String. (String) This value is filled automatically by the Logger.
-
getDB_INSTANCE
final String getDB_INSTANCE()
Database instance name. (String)
-
getDB_OPERATION
final String getDB_OPERATION()
The operation that was performed (“query”, “update”, “delete”,…). (String)
-
getDB_STATEMENT
final String getDB_STATEMENT()
A database statement for the given database type. (String) E.g., for mySQL: "SELECT * FROM wuser_table";
-
getDB_USER
final String getDB_USER()
User that performs the operation. (String)
-
getDD_SPAN_ID
final String getDD_SPAN_ID()
The id of the active Span. (String) This lets the Trace and Logs features to be linked. This value is filled automatically by the Logger.
-
getDD_TRACE_ID
final String getDD_TRACE_ID()
The id of the active Trace. (String) This lets the Trace and Logs features to be linked. This value is filled automatically by the Logger.
-
getDURATION
final String getDURATION()
A duration of any kind in nanoseconds. (Number) E.g.: HTTP response time, database query time, latency, etc.
-
getERROR_KIND
final String getERROR_KIND()
-
getERROR_MESSAGE
final String getERROR_MESSAGE()
-
getERROR_STACK
final String getERROR_STACK()
-
getHOST
final String getHOST()
The name of the originating host as defined in metrics. (String) This value is automatically filled by the Datadog framework.
-
getHTTP_METHOD
final String getHTTP_METHOD()
Indicates the desired action to be performed for a given resource. (String)
-
getHTTP_REFERRER
final String getHTTP_REFERRER()
HTTP header field that identifies the address of the web page that linked to the resource being requested. (String)
-
getHTTP_REQUEST_ID
final String getHTTP_REQUEST_ID()
The ID of the HTTP request. (String)
-
getHTTP_STATUS_CODE
final String getHTTP_STATUS_CODE()
The HTTP response status code. (Number)
-
getHTTP_URL
final String getHTTP_URL()
The URL of the HTTP request. (String)
-
getHTTP_USERAGENT
final String getHTTP_USERAGENT()
The User-Agent as it is sent (raw format). (String) This value is automatically filled by the Datadog framework, using the System's "http.agent" property.
-
getHTTP_VERSION
final String getHTTP_VERSION()
The version of HTTP used for the request. (String)
-
getLOGGER_METHOD_NAME
final String getLOGGER_METHOD_NAME()
The class method name. (String)
-
getLOGGER_NAME
final String getLOGGER_NAME()
The name of the logger. (String) This value is filled automatically by the Logger.
-
getLOGGER_THREAD_NAME
final String getLOGGER_THREAD_NAME()
The name of the current thread when the log is fired. (String) This value is filled automatically by the Logger.
-
getLOGGER_VERSION
final String getLOGGER_VERSION()
The version of the logger. (String) This value is filled automatically by the Logger.
-
getMESSAGE
final String getMESSAGE()
The body of the log entry. (String) This value is filled automatically by the Logger.
-
getNETWORK_CARRIER_ID
final String getNETWORK_CARRIER_ID()
The unique id of the Carrier attached to the SIM card. (Number) This value is filled automatically by the Logger.
-
getNETWORK_CARRIER_NAME
final String getNETWORK_CARRIER_NAME()
The name of the Carrier attached to the SIM card. (String) This value is filled automatically by the Logger.
-
getNETWORK_CLIENT_IP
final String getNETWORK_CLIENT_IP()
The IP address of the client that initiated the TCP connection. (String) This value is automatically filled by the Datadog framework.
-
getNETWORK_CLIENT_PORT
final String getNETWORK_CLIENT_PORT()
The port of the client that initiated the connection. (Number)
-
getNETWORK_CONNECTIVITY
final String getNETWORK_CONNECTIVITY()
The connectivity status of the device. (String) This value is filled automatically by the Logger.
-
getNETWORK_DOWN_KBPS
final String getNETWORK_DOWN_KBPS()
The downstream bandwidth for the current network in Kbps. (Number) This value is filled automatically by the Logger.
-
getNETWORK_SIGNAL_STRENGTH
final String getNETWORK_SIGNAL_STRENGTH()
The bearer specific signal strength. (Number) This value is filled automatically by the Logger.
-
getNETWORK_UP_KBPS
final String getNETWORK_UP_KBPS()
The upstream bandwidth for the current network in Kbps. (Number) This value is filled automatically by the Logger.
-
getRUM_APPLICATION_ID
final String getRUM_APPLICATION_ID()
The RUM Application ID. (String) This lets the RUM and Logs features to be linked. This value is filled automatically by the Logger.
-
getRUM_SESSION_ID
final String getRUM_SESSION_ID()
The id of the active RUM session. (String) This lets the RUM and Logs features to be linked. This value is filled automatically by the Logger.
-
getRUM_VIEW_ID
final String getRUM_VIEW_ID()
The id of the active RUM View. (String) This lets the RUM and Logs features to be linked. This value is filled automatically by the Logger.
-
getRUM_ACTION_ID
final String getRUM_ACTION_ID()
The id of the active RUM Action. (String) This lets the RUM and Logs features to be linked. This value is filled automatically by the Logger.
-
getSERVICE_NAME
final String getSERVICE_NAME()
The name of the application or service generating the log events. (String) This value is filled automatically by the Logger.
-
getSOURCE
final String getSOURCE()
The technology from which the log originated. (String) This value is filled automatically by the Logger.
-
getSTATUS
final String getSTATUS()
The level/severity of a log. (String) This value is filled automatically by the Logger.
-
getUSR_EMAIL
final String getUSR_EMAIL()
The user email. (String) This value is filled automatically by the Logger.
-
getUSR_ID
final String getUSR_ID()
The user identifier. (String) This value is filled automatically by the Logger.
-
getUSR_NAME
final String getUSR_NAME()
The user friendly name. (String) This value is filled automatically by the Logger.
-
getVARIANT
final String getVARIANT()
The application variant. (String) This value is filled automatically by the Logger.
-
-
-
-