Welcome to our new portal experience - if you need any assistance or have questions, please click here.

Get Audit Log for an Object From Device42

Modified on: Tue, 31 Mar, 2026 at 4:08 PM

We can get history audit log for any object on Device42 in by legacy report or API call.

Legacy Report

Reports > Classic Reports then

Add Report > Audit Log

You can use different filters on the report setting page, for example to specify the object name let say "Device" name you can use:

Object contains: field

Then we can display the report on the screen before exporting it to Excel or CSV format file.

API call

curl -u 'user:password' https://D42_IP/api/1.0/auditlogs/ --insecure

Optional parameters are:

  • object_id Filters by object ID (ie, device ID, asset ID)
  • content_type Returns changes done to a particular content type
  • action_time_gt Filters actions that have happened past the time entered (ie, greater than 2 weeks) in YYYY-MM-DDTHH:MM:ss.uuuuuu (ie 2016-10-27T13:52:01.213416)
  • action_time_lt Returns actions within the last X amount of days in YYYY-MM-DDTHH:MM:ss.uuuuuu (ie 2016-10-27T13:52:01.213416)