Audit log field reference

    The following attributes are logged for all event categories, independent of the layer.

    REST FAILED_LOGIN attributes

    NameDescription
    audit_request_effective_userThe username that failed to authenticate.
    audit_rest_request_pathThe REST endpoint URI.
    audit_rest_request_paramsThe HTTP request parameters, if any.
    audit_rest_request_headersThe HTTP headers, if any.
    audit_request_initiating_userThe user that initiated the request. Only logged if it differs from the effective user.
    audit_request_bodyThe HTTP request body, if any (and if request body logging is enabled).

    REST AUTHENTICATED attributes

    NameDescription
    audit_request_effective_userThe username that failed to authenticate.
    audit_request_initiating_userThe user that initiated the request. Only logged if it differs from the effective user.
    audit_rest_request_pathThe REST endpoint URI.
    audit_rest_request_paramsThe HTTP request parameters, if any.
    audit_rest_request_headersThe HTTP headers, if any.
    audit_request_bodyThe HTTP request body, if any (and if request body logging is enabled).

    REST SSL_EXCEPTION attributes

    NameDescription
    audit_request_exception_stacktraceThe stack trace of the SSL exception.

    Transport FAILED_LOGIN attributes

    NameDescription
    audit_trace_task_idThe ID of the request.
    audit_transport_headersThe headers of the request, if any.
    audit_request_effective_userThe username that failed to authenticate.
    audit_request_initiating_userThe user that initiated the request. Only logged if it differs from the effective user.
    audit_transport_request_typeThe type of request (e.g. IndexRequest).
    audit_request_bodyThe HTTP request body, if any (and if request body logging is enabled).
    audit_trace_indicesThe index name(s) included in the request. Can contain wildcards, date patterns, and aliases. Only logged if resolve_indices is true.
    audit_trace_resolved_indicesThe resolved index name(s) affected by the request. Only logged if resolve_indices is true.
    The document types affected by the request. Only logged if resolve_indices is true.

    Transport AUTHENTICATED attributes

    NameDescription
    audit_trace_task_idThe ID of the request.
    audit_transport_headersThe headers of the request, if any.
    audit_request_effective_userThe username that failed to authenticate.
    audit_request_initiating_userThe user that initiated the request. Only logged if it differs from the effective user.
    audit_transport_request_typeThe type of request (e.g. IndexRequest).
    audit_request_bodyThe HTTP request body, if any (and if request body logging is enabled).
    audit_trace_indicesThe index name(s) included in the request. Can contain wildcards, date patterns, and aliases. Only logged if resolve_indices is true.
    audit_trace_resolved_indicesThe resolved index name(s) affected by the request. Only logged if resolve_indices is true.
    audit_trace_doc_typesThe document types affected by the request. Only logged if resolve_indices is true.

    Transport MISSING_PRIVILEGES attributes

    NameDescription
    audit_trace_task_idThe ID of the request.
    audit_trace_task_parent_idThe parent ID of this request, if any.
    audit_transport_headersThe headers of the request, if any.
    audit_request_effective_userThe username that failed to authenticate.
    audit_request_initiating_userThe user that initiated the request. Only logged if it differs from the effective user.
    audit_transport_request_typeThe type of request (e.g. IndexRequest).
    audit_request_privilegeThe required privilege of the request (e.g. indices:data/read/search).
    audit_request_bodyThe HTTP request body, if any (and if request body logging is enabled).
    audit_trace_indicesThe index name(s) included in the request. Can contain wildcards, date patterns, and aliases. Only logged if resolve_indices is true.
    audit_trace_resolved_indicesThe resolved index name(s) affected by the request. Only logged if resolve_indices is true.
    audit_trace_doc_typesThe document types affected by the request. Only logged if resolve_indices is true.

    Transport SSL_EXCEPTION attributes

    NameDescription
    audit_request_exception_stacktraceThe stack trace of the SSL exception.

    Transport BAD_HEADERS attributes

    NameDescription
    audit_trace_task_idThe ID of the request.
    audit_trace_task_parent_idThe parent ID of this request, if any.
    audit_transport_headersThe headers of the request, if any.
    audit_request_effective_userThe username that failed to authenticate.
    audit_request_initiating_userThe user that initiated the request. Only logged if it differs from the effective user.
    audit_transport_request_typeThe type of request (e.g. IndexRequest).
    audit_request_bodyThe HTTP request body, if any (and if request body logging is enabled).
    audit_trace_indicesThe index name(s) included in the request. Can contain wildcards, date patterns, and aliases. Only logged if resolve_indices is true.
    audit_trace_resolved_indicesThe resolved index name(s) affected by the request. Only logged if resolve_indices is true.
    audit_trace_doc_typesThe document types affected by the request. Only logged if resolve_indices is true.

    Transport opensearch_SECURITY_INDEX_ATTEMPT attributes

    NameDescription
    audit_trace_task_idThe ID of the request.
    audit_transport_headersThe headers of the request, if any.
    audit_request_effective_userThe username that failed to authenticate.
    audit_request_initiating_userThe user that initiated the request. Only logged if it differs from the effective user.
    audit_transport_request_typeThe type of request (e.g. IndexRequest).
    audit_request_bodyThe HTTP request body, if any (and if request body logging is enabled).
    audit_trace_indicesThe index name(s) included in the request. Can contain wildcards, date patterns, and aliases. Only logged if resolve_indices is true.
    audit_trace_resolved_indicesThe resolved index name(s) affected by the request. Only logged if resolve_indices is true.
    audit_trace_doc_typesThe document types affected by the request. Only logged if is true.