Package org.graylog2.audit
Class AuditEventType
java.lang.Object
org.graylog2.audit.AuditEventType
Represents an audit event with namespace, object and action.
Plugins should use their own namespace for audit events.
The
create(String) method expects an event type string with the following format:
namespace:object:action
Examples:
server:message_input:create
pipeline-processor:configuration:update-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Stringaction()static AuditEventTypeCreatesAuditEventTypefrom an audit event type string with the following format.static AuditEventTypeabstract Stringabstract Stringobject()
-
Constructor Details
-
AuditEventType
public AuditEventType()
-
-
Method Details
-
namespace
-
object
-
action
-
toTypeString
-
create
-
create
CreatesAuditEventTypefrom an audit event type string with the following format.namespace:object:actionSee class documentation for details.- Parameters:
type- the audit event type string- Returns:
- the object
-