Package org.apache.hadoop.fs.audit
Class AuditConstants
java.lang.Object
org.apache.hadoop.fs.audit.AuditConstants
Constants related to auditing.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringNum of files to be deleted as part of the bulk delete request.static final StringHeader: Command: "cm".static final StringHeader: FileSystem ID: "fs".static final StringHeader: operation ID: "id".static final StringJobID query header: "ji".static final StringHeader: operation: "op".static final StringHeader: first path of operation: "p1".static final StringHeader: second path of operation: "p2".static final StringHeader: Principal: "pr".static final StringHeader: Process ID: "ps".static final StringHeader: Range for GET request data: "rg".static final StringTask Attempt ID query header: "ta".static final StringThread 0: the thread which created a span "t0".static final StringThread 1: the thread making the S3 request: "t1".static final StringTimestamp of span creation: "ts".static final StringThe host from where requests originate: "audit.example.org". -
Method Summary
-
Field Details
-
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
Header: Command: "cm". Set by tool runner.- See Also:
-
PARAM_FILESYSTEM_ID
Header: FileSystem ID: "fs".- See Also:
-
PARAM_ID
Header: operation ID: "id".- See Also:
-
PARAM_JOB_ID
JobID query header: "ji".- See Also:
-
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
Header: first path of operation: "p1".- See Also:
-
PARAM_PATH2
Header: second path of operation: "p2".- See Also:
-
PARAM_PRINCIPAL
Header: Principal: "pr".- See Also:
-
PARAM_PROCESS
Header: Process ID: "ps".- See Also:
-
PARAM_RANGE
Header: Range for GET request data: "rg".- See Also:
-
PARAM_TASK_ATTEMPT_ID
Task Attempt ID query header: "ta".- See Also:
-
PARAM_THREAD0
Thread 0: the thread which created a span "t0".- See Also:
-
PARAM_THREAD1
Thread 1: the thread making the S3 request: "t1".- See Also:
-
PARAM_TIMESTAMP
Timestamp of span creation: "ts".- See Also:
-
DELETE_KEYS_SIZE
Num of files to be deleted as part of the bulk delete request.- See Also:
-