Skip to main content

Auditing user actions

About user action logs

User action logs (also known as audit trail) are generated for all write operations and login/logout operations performed by user accounts and service accounts associated with the subscription. They allow tracking the following events on all the relevant ThingPark objects:

  • Login
  • Logout
  • Login error
  • Logout error
  • Create: resource creation, including administrative commands created on existing resources, such as rebooting or upgrading a base station or updating its RF region
  • Update: resource update
  • Delete: resource deletion

Actions on the following ThingPark objects are tracked:

  • Base stations: include RF probes and alarms acknowledgement
  • Devices and multicast groups: include relay configuration and alarms acknowledgement
  • Connections: except ThingPark X IoT Flow configuration that is not yet available
  • Cellular network contexts
  • AS transport keys
  • User accounts and service accounts
  • Network partner: includes TPE license, base station alarms configuration and LoRaWAN configuration
  • Subscriber: includes domain groups, domains, device and multicast group alarms configuration and LoRaWAN configuration

The last user action logs can be exported in a CSV file. Each line in the CSV file describes an action performed on a ThingPark object. The maximum number of exported user action logs is 5,000. User action logs older than 6 months cannot be exported. The CSV file contains low-level information extracted from REST API requests. See Control plane API for more details. The following CSV columns are available:

ColumnDefinitionCardinality
ALogin of the user account (email address) or service account (client ID) responsible for the actionMandatory
BType of the ThingPark object targeted by the action: AsTransportKey, BaseStation, CellularNetworkContext, Connection, Device_MulticastGroup, NetworkPartner, Subscriber, UserAccount_ServiceAccountOptional: only for CREATE, UPDATE, DELETE actions
CIdentifier of the ThingPark object targeted by the action. For instance the DevEUI for a device.Optional: only for CREATE, UPDATE, DELETE actions
DUTC date and time of the action (format is YYYY-MM-DD hh:mm:ss.s)Mandatory
EAction type: LOGIN, LOGOUT, LOGIN_ERROR, LOGOUT_ERROR, CREATE, UPDATE, DELETEMandatory
FMethod of the REST API HTTP request: POST, PUT, DELETEOptional: only for CREATE, UPDATE, DELETE actions
GRequest target (URL) of the REST API HTTP requestOptional: only for CREATE, UPDATE, DELETE actions
HHTTP code returned by ThingParkOptional: only for CREATE, UPDATE, DELETE actions
IThingPark error codeOptional: only for CREATE, UPDATE, DELETE actions in case of failure
JContent of REST HTTP request (POST and PUT only). Passwords are obfuscated and images are removed.Optional: only for CREATE, UPDATE actions
KContent Type of REST HTTP request (POST and PUT only)Optional: only for CREATE, UPDATE actions
LIP address of the client performing the actionMandatory
MJSON document providing event detailsOptional: only for LOGIN, LOGOUT, LOGIN_ERROR, LOGOUT_ERROR actions

User action logs are accessible only by users having the Administrator role.

Exporting user action logs

  1. From the left panel, select Administration, then Control Panel, and go to USER ACTION LOG.

  2. (Optional) Set your filters to restrict the exported logs as needed.

  3. Click EXPORT LIST.

    -> The last user actions matching your filters are exported in a CSV file. See About user action logs for more details.

Ask AI