Class AuditEntry

java.lang.Object
org.apache.druid.audit.AuditEntry

public class AuditEntry extends Object
Serializable record of an audit event that can be persisted, logged or sent over REST APIs.
  • Constructor Details

  • Method Details

    • getKey

      public String getKey()
    • getType

      public String getType()
    • getAuditInfo

      public AuditInfo getAuditInfo()
    • getRequest

      public RequestInfo getRequest()
      Details of the REST API request associated with this audit, if any.
    • getPayload

      public AuditEntry.Payload getPayload()
      Non-null payload of the audit event.
    • getAuditTime

      public org.joda.time.DateTime getAuditTime()
      Returns:
      audit time as DateTime
    • builder

      public static AuditEntry.Builder builder()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object