Package org.elasticsearch.common.logging
Class JsonLogLine
java.lang.Object
org.elasticsearch.common.logging.JsonLogLine
Represents a single log line in a json format.
Parsing log lines with this class confirms the json format of logs
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ObjectParser<JsonLogLine,Void>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlevel()
message()
nodeId()
nodeName()
void
setClusterName(String clusterName)
void
setClusterUuid(String clusterUuid)
void
setComponent(String component)
void
void
setMessage(String message)
void
void
setNodeName(String nodeName)
void
setStacktrace(List<String> stacktrace)
void
setTimestamp(String timestamp)
void
toString()
type()
-
Field Details
-
PARSER
-
-
Constructor Details
-
JsonLogLine
public JsonLogLine()
-
-
Method Details