Package com.splunk.logging
Class HttpEventCollectorEventInfo
- java.lang.Object
-
- com.splunk.logging.HttpEventCollectorEventInfo
-
public class HttpEventCollectorEventInfo extends Object
Container for Splunk http event collector event data
-
-
Constructor Summary
Constructors Constructor Description HttpEventCollectorEventInfo(long timeMsSinceEpoch, String severity, String message, String logger_name, String thread_name, Map<String,String> properties, String exception_message, Serializable marker)
Create a new HttpEventCollectorEventInfo container
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExceptionMessage()
String
getLoggerName()
Serializable
getMarker()
String
getMessage()
Map<String,String>
getProperties()
String
getSeverity()
String
getThreadName()
double
getTime()
-
-
-
Constructor Detail
-
HttpEventCollectorEventInfo
public HttpEventCollectorEventInfo(long timeMsSinceEpoch, String severity, String message, String logger_name, String thread_name, Map<String,String> properties, String exception_message, Serializable marker)
Create a new HttpEventCollectorEventInfo container- Parameters:
timeMsSinceEpoch
- in milliseconds since "unix epoch"severity
- of eventmessage
- is an event contentlogger_name
- name of the loggerthread_name
- name of the threadproperties
- additional properties for this eventexception_message
- text of an exception to logmarker
- event marker
-
-
Method Detail
-
getTime
public double getTime()
- Returns:
- event timestamp in epoch format
-
getSeverity
public final String getSeverity()
- Returns:
- event severity
-
getMessage
public final String getMessage()
- Returns:
- event message
-
getLoggerName
public final String getLoggerName()
- Returns:
- event logger name
-
getThreadName
public final String getThreadName()
- Returns:
- event thread name
-
getExceptionMessage
public final String getExceptionMessage()
- Returns:
- event's exception message
-
getMarker
public Serializable getMarker()
- Returns:
- event marker
-
-