Class AuditConstants

java.lang.Object
org.apache.hadoop.fs.audit.AuditConstants

@Private @Unstable public final class AuditConstants extends Object
Constants related to auditing.
  • Field Details

    • REFERRER_ORIGIN_HOST

      public static final String REFERRER_ORIGIN_HOST
      The host from where requests originate: "audit.example.org". example.org is used as the IETF require that it never resolves. This isn't always met by some mobile/consumer DNS services, but we don't worry about that. What is important is that a scan for "example.org" in the logs will exclusively find entries from this referrer.
      See Also:
    • PARAM_COMMAND

      public static final String PARAM_COMMAND
      Header: Command: "cm". Set by tool runner.
      See Also:
    • PARAM_FILESYSTEM_ID

      public static final String PARAM_FILESYSTEM_ID
      Header: FileSystem ID: "fs".
      See Also:
    • PARAM_ID

      public static final String PARAM_ID
      Header: operation ID: "id".
      See Also:
    • PARAM_JOB_ID

      public static final String PARAM_JOB_ID
      JobID query header: "ji".
      See Also:
    • PARAM_OP

      public static final String PARAM_OP
      Header: operation: "op". These should be from StoreStatisticNames or similar, and are expected to be at the granularity of FS API operations.
      See Also:
    • PARAM_PATH

      public static final String PARAM_PATH
      Header: first path of operation: "p1".
      See Also:
    • PARAM_PATH2

      public static final String PARAM_PATH2
      Header: second path of operation: "p2".
      See Also:
    • PARAM_PRINCIPAL

      public static final String PARAM_PRINCIPAL
      Header: Principal: "pr".
      See Also:
    • PARAM_PROCESS

      public static final String PARAM_PROCESS
      Header: Process ID: "ps".
      See Also:
    • PARAM_RANGE

      public static final String PARAM_RANGE
      Header: Range for GET request data: "rg".
      See Also:
    • PARAM_TASK_ATTEMPT_ID

      public static final String PARAM_TASK_ATTEMPT_ID
      Task Attempt ID query header: "ta".
      See Also:
    • PARAM_THREAD0

      public static final String PARAM_THREAD0
      Thread 0: the thread which created a span "t0".
      See Also:
    • PARAM_THREAD1

      public static final String PARAM_THREAD1
      Thread 1: the thread making the S3 request: "t1".
      See Also:
    • PARAM_TIMESTAMP

      public static final String PARAM_TIMESTAMP
      Timestamp of span creation: "ts".
      See Also:
    • DELETE_KEYS_SIZE

      public static final String DELETE_KEYS_SIZE
      Num of files to be deleted as part of the bulk delete request.
      See Also: