Cloudflare

Download 2
Last updated Aug 4, 2026

cloudflare-audit-logs

Get audit logs from Cloudflare service.

Syntax

cloudflare-audit-logs [profile=PROFILE] [duration=NUM{mon|w|d|h|m|s}] [from=yyyyMMddHHmmss] [to=yyyyMMddHHmmss] [order=ORDER] [actor-email=ACTOR-EMAIL] [actor-ip=ACTOR-IP] [action-type=ACTION-TYPE]

Options

profile=PROFILE
Optional. Connect profile code of Cloudflare
duration=NUM{mon|w|d|h|m|s}
Optional. Scan only recent data. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example, 10s means data from 10 seconds earlier.
from=yyyyMMddHHmmss
Optional. Start time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
to=yyyyMMddHHmmss
Optional. End time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
order=ORDER
Optional. asc or desc. (default desc)
actor-email=ACTOR-EMAIL
Optional. Search logs matching actor's email.
actor-ip=ACTOR-IP
Optional. Search logs matching actor's ip.
action-type=ACTION-TYPE
Optional. Search logs matching action's type.

Output Fields

FieldTypeNameDescription
profileStringConnect profileCloudflare connect profile code
idStringIDUnique identifier for the audit log entry
action_resultBoolAction ResultResult of the performed action
action_typeStringAction TypeType of action performed
action_infoStringAction InfoAdditional information about the action
actor_idStringActor IDIdentifier of the actor who performed the action
actor_emailStringActor EmailEmail address of the actor
actor_ipIP addressActor IPIP address of the actor
actor_typeStringActor TypeType of the actor
ifaceStringInterfaceInterface where the action occurred
metadataMapMetadataAdditional metadata about the event
new_valueStringNew ValueNew value after the change
new_value_jsonMapNew Value JSONNew value in JSON format
old_valueStringOld ValuePrevious value before the change
old_value_jsonMapOld Value JSONPrevious value in JSON format
owner_idStringOwner IDIdentifier of the resource owner
owner_typeStringOwner TypeType of the resource owner
_timeDateEvent TimeTime when the event occurred
resource_idStringResource IDIdentifier of the affected resource
resource_typeStringResource TypeType of the affected resource