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
project.created
milford_feil@pfannerstill-kozey.com
Event ID:
199e5521-6223-4dab-a75c-52d8e20e72ec
Date:
User ID:
1123374
User IP Address:
117.83.250.79
Resource:
{
  "id": 5427189,
  "name": "molestiae_ut"
}
Raw JSON:
{
  "user": {
    "email": "milford_feil@pfannerstill-kozey.com",
    "id": 1123374,
    "ip": "117.83.250.79"
  },
  "action": "project.created",
  "obj": {
    "id": 5427189,
    "name": "molestiae_ut"
  }
}
repo.updated
brandon.green@hilpert.info
Event ID:
3f27af20-47d1-4a8d-950b-1b6349314ea6
Date:
User ID:
1782578
User IP Address:
127.173.7.193
Resource:
{
  "id": 8595960
}
Before:
{
  "private": false
}
After:
{
  "private": true
}
Raw JSON:
{
  "user": {
    "email": "brandon.green@hilpert.info",
    "id": 1782578,
    "ip": "127.173.7.193"
  },
  "action": "repo.updated",
  "obj": {
    "id": 8595960
  },
  "before": {
    "private": false
  },
  "after": {
    "private": true
  }
}
user.updated
doyle.wyman@aufderhar.co
Event ID:
a1b18875-3ecc-429d-b992-8ad678f2bc1f
Date:
User ID:
1377289
User IP Address:
145.120.18.237
Before:
{
  "two_factor_enabled": true
}
After:
{
  "two_factor_enabled": false
}
Raw JSON:
{
  "user": {
    "email": "doyle.wyman@aufderhar.co",
    "id": 1377289,
    "ip": "145.120.18.237"
  },
  "action": "user.updated",
  "before": {
    "two_factor_enabled": true
  },
  "after": {
    "two_factor_enabled": false
  }
}
user.forgot_password
alfred@grant-dach.org
Event ID:
447a712a-9507-45f3-b8da-1ae54cdd1d3a
Date:
User ID:
2992459
User IP Address:
227.123.189.131
Raw JSON:
{
  "user": {
    "email": "alfred@grant-dach.org",
    "id": 2992459,
    "ip": "227.123.189.131"
  },
  "action": "user.forgot_password"
}
user.failed_login
guadalupe@wiza.co
Event ID:
15464171-8850-4df6-8a51-136e81688439
Date:
User ID:
8714255
User IP Address:
192.88.68.150
Raw JSON:
{
  "user": {
    "email": "guadalupe@wiza.co",
    "id": 8714255,
    "ip": "192.88.68.150"
  },
  "action": "user.failed_login"
}
user.login
sydney@conn-lindgren.name
Event ID:
43bfff65-e85f-432f-bbe6-a03e47216e27
Date:
User ID:
7817595
User IP Address:
65.214.17.46
Raw JSON:
{
  "user": {
    "email": "sydney@conn-lindgren.name",
    "id": 7817595,
    "ip": "65.214.17.46"
  },
  "action": "user.login"
}
user.updated
gaston@kuhn.net
Event ID:
ba86f12b-b99f-4ef6-8da0-9551921626e4
Date:
User ID:
2213887
User IP Address:
c79b:449c:7835:7320:31f:d421:2ee1:1154
Before:
{
  "email": "vince@abernathy.biz"
}
After:
{
  "email": "gaston@kuhn.net"
}
Raw JSON:
{
  "user": {
    "email": "gaston@kuhn.net",
    "id": 2213887,
    "ip": "c79b:449c:7835:7320:31f:d421:2ee1:1154"
  },
  "action": "user.updated",
  "before": {
    "email": "vince@abernathy.biz"
  },
  "after": {
    "email": "gaston@kuhn.net"
  }
}
user.login
jamison.sporer@ernser.co
Event ID:
c1d6582a-6ef8-449a-9443-a3e20dfb16f9
Date:
User ID:
2060857
User IP Address:
321d:af09:d320:c5e:6f1a:9ea5:9646:82a3
Raw JSON:
{
  "user": {
    "email": "jamison.sporer@ernser.co",
    "id": 2060857,
    "ip": "321d:af09:d320:c5e:6f1a:9ea5:9646:82a3"
  },
  "action": "user.login"
}
project.deleted
sharika.donnelly@ebert-kautzer.info
Event ID:
31d4b690-e52a-4223-ba4e-cd694fb1c336
Date:
User ID:
7502541
User IP Address:
217.137.26.184
Resource:
{
  "id": 8002738,
  "name": "iusto-eos"
}
Raw JSON:
{
  "user": {
    "email": "sharika.donnelly@ebert-kautzer.info",
    "id": 7502541,
    "ip": "217.137.26.184"
  },
  "action": "project.deleted",
  "obj": {
    "id": 8002738,
    "name": "iusto-eos"
  }
}
repo.deleted
esmeralda_lang@conroy.info
Event ID:
860eeb56-eabe-43e6-9943-6ae8a09b855e
Date:
User ID:
2546528
User IP Address:
145.216.246.243
Resource:
{
  "id": 2476622,
  "name": "quia-esse"
}
Raw JSON:
{
  "user": {
    "email": "esmeralda_lang@conroy.info",
    "id": 2546528,
    "ip": "145.216.246.243"
  },
  "action": "repo.deleted",
  "obj": {
    "id": 2476622,
    "name": "quia-esse"
  }
}
Next