Demo

Below is an example of an audit log that you could build into your own app using AuditAPI. If you click on a row, you'll see a "Raw JSON" entry. This is what the event data looks like when returned from the API. All data within that field is searchable, and you can display as much or as little as necessary in your UI.

Date
Action
User
user.forgot_password
laree@yost.name
Event ID:
50508e66-2fc4-4477-9fe9-65af19c94df6
Date:
User ID:
8630737
User IP Address:
df11:53e:17e8:acac:f702:3d49:dae3:1081
Raw JSON:
{
  "user": {
    "email": "laree@yost.name",
    "id": 8630737,
    "ip": "df11:53e:17e8:acac:f702:3d49:dae3:1081"
  },
  "action": "user.forgot_password"
}
repo.created
bob.huels@dubuque.org
Event ID:
9bd2b2ee-62ec-4cba-8302-454ed4d993fe
Date:
User ID:
2513232
User IP Address:
175.154.61.179
Resource:
{
  "id": 1372594,
  "name": "fuga-beatae"
}
Raw JSON:
{
  "user": {
    "email": "bob.huels@dubuque.org",
    "id": 2513232,
    "ip": "175.154.61.179"
  },
  "action": "repo.created",
  "obj": {
    "id": 1372594,
    "name": "fuga-beatae"
  }
}
user.updated
fernando@ullrich-zemlak.co
Event ID:
e58bca19-7881-410e-9a90-9594cee56d8a
Date:
User ID:
2245537
User IP Address:
198.238.41.224
Before:
{
  "two_factor_enabled": false
}
After:
{
  "two_factor_enabled": true
}
Raw JSON:
{
  "user": {
    "email": "fernando@ullrich-zemlak.co",
    "id": 2245537,
    "ip": "198.238.41.224"
  },
  "action": "user.updated",
  "before": {
    "two_factor_enabled": false
  },
  "after": {
    "two_factor_enabled": true
  }
}
project.deleted
gregory_ryan@rodriguez.io
Event ID:
af827528-b089-4ec9-928b-c0f06b93853d
Date:
User ID:
3917732
User IP Address:
12a2:c94d:a31c:8c45:6322:eab8:a35d:951f
Resource:
{
  "id": 6058469,
  "name": "qui-possimus"
}
Raw JSON:
{
  "user": {
    "email": "gregory_ryan@rodriguez.io",
    "id": 3917732,
    "ip": "12a2:c94d:a31c:8c45:6322:eab8:a35d:951f"
  },
  "action": "project.deleted",
  "obj": {
    "id": 6058469,
    "name": "qui-possimus"
  }
}
user.login
benny@ward.com
Event ID:
b7f5106f-f09e-45b5-9025-e37d58fe2725
Date:
User ID:
1010885
User IP Address:
63.99.190.223
Raw JSON:
{
  "user": {
    "email": "benny@ward.com",
    "id": 1010885,
    "ip": "63.99.190.223"
  },
  "action": "user.login"
}
user.forgot_password
tyson_aufderhar@witting-glover.io
Event ID:
771a148c-666e-4df0-a365-c1c6efddf473
Date:
User ID:
3567734
User IP Address:
143.184.245.53
Raw JSON:
{
  "user": {
    "email": "tyson_aufderhar@witting-glover.io",
    "id": 3567734,
    "ip": "143.184.245.53"
  },
  "action": "user.forgot_password"
}
project.created
asa.pollich@mills-toy.name
Event ID:
8b136a99-9ad0-472a-b752-c3353de5b2d0
Date:
User ID:
2694398
User IP Address:
86.144.183.28
Resource:
{
  "id": 7172614,
  "name": "quo_aut"
}
Raw JSON:
{
  "user": {
    "email": "asa.pollich@mills-toy.name",
    "id": 2694398,
    "ip": "86.144.183.28"
  },
  "action": "project.created",
  "obj": {
    "id": 7172614,
    "name": "quo_aut"
  }
}
user.failed_login
joetta.kuhn@greenfelder.co
Event ID:
6f6c91ba-fb0b-4500-b741-3c50d47d50e1
Date:
User ID:
8870162
User IP Address:
208.4.87.211
Raw JSON:
{
  "user": {
    "email": "joetta.kuhn@greenfelder.co",
    "id": 8870162,
    "ip": "208.4.87.211"
  },
  "action": "user.failed_login"
}
project.deleted
heide@bartell-borer.biz
Event ID:
4a04c90e-ed6a-4185-927d-5753553f2f36
Date:
User ID:
8951287
User IP Address:
219.105.136.125
Resource:
{
  "id": 3844884,
  "name": "in-eligendi"
}
Raw JSON:
{
  "user": {
    "email": "heide@bartell-borer.biz",
    "id": 8951287,
    "ip": "219.105.136.125"
  },
  "action": "project.deleted",
  "obj": {
    "id": 3844884,
    "name": "in-eligendi"
  }
}
user.forgot_password
danny_grady@ryan.name
Event ID:
86537a29-9fd8-43c2-bcd4-87f71a7702f6
Date:
User ID:
2156548
User IP Address:
51.195.61.192
Raw JSON:
{
  "user": {
    "email": "danny_grady@ryan.name",
    "id": 2156548,
    "ip": "51.195.61.192"
  },
  "action": "user.forgot_password"
}
Next