Module org.elasticsearch.xcore
Class SystemAuditMessage
java.lang.Object
org.elasticsearch.xpack.core.common.notifications.AbstractAuditMessage
org.elasticsearch.xpack.core.ml.notifications.SystemAuditMessage
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ConstructingObjectParser<SystemAuditMessage, Void> Fields inherited from class org.elasticsearch.xpack.core.common.notifications.AbstractAuditMessage
JOB_TYPE, LEVEL, MAX_AUDIT_MESSAGE_CHARS, MESSAGE, NODE_NAME, TIMESTAMPFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionSystemAuditMessage(String message, Level level, Date timestamp, String nodeName) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.elasticsearch.xpack.core.common.notifications.AbstractAuditMessage
createParser, equals, getLevel, getMessage, getNodeName, getResourceId, getTimestamp, hashCode, toXContentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<SystemAuditMessage,Void> PARSER
-
-
Constructor Details
-
SystemAuditMessage
-
-
Method Details
-
getJobType
- Specified by:
getJobTypein classAbstractAuditMessage- Returns:
- job type string used to tell apart jobs of different types stored in the same index
-
getResourceField
- Specified by:
getResourceFieldin classAbstractAuditMessage- Returns:
- resource id field name used when storing a new message
-