[comment]: # translation:outdated

[comment]: # ({e0b9dd2d-e0b9dd2d})
# > Audit log object

The following objects are directly related to the `auditlog` API.

[comment]: # ({/e0b9dd2d-e0b9dd2d})

[comment]: # ({83008f2a-83008f2a})
### Audit log

The audit log object contains information about user actions. It has the
following properties.

|Property|[Type](/manual/api/reference_commentary#data_types)|Description|
|--------|---------------------------------------------------|-----------|
|auditid|string|*(readonly)* ID of audit log entry.|
|userid|string|Audit log entry author userid.|
|action|integer|Audit log entry action.<br><br>Possible values are:<br>0 - Add;<br>1 - Update;<br>2 - Delete;<br>3 - Login;<br>4 - Logout;<br>5 - Enable;<br>6 - Disable;<br>7 - Execute.|
|clock|timestamp|Audit log entry creation timestamp.|
|resourcetype|integer|Audit log entry resource type.<br><br>Possible values are:<br>0 - User;<br>2 - Configuration of Zabbix;<br>3 - Media type;<br>4 - Host;<br>5 - Action;<br>6 - Graph;<br>7 - Graph element;<br>11 - User group;<br>12 - Application;<br>13 - Trigger;<br>14 - Host group;<br>15 - Item;<br>16 - Image;<br>17 - Value map;<br>18 - Service;<br>19 - Map;<br>20 - Screen;<br>22 - Web scenario;<br>23 - Discovery rule;<br>24 - Slide show;<br>25 - Script;<br>26 - Proxy;<br>27 - Maintenance;<br>28 - Regular expression;<br>29 - Macro;<br>30 - Template;<br>31 - Trigger prototype;<br>32 - Icon mapping;<br>33 - Dashboard;<br>34 - Event correlation;<br>35 - Graph prototype;<br>36 - Item prototype;<br>37 - Host prototype;<br>38 - Autoregistration;<br>39 - Module.|
|note|string|Audit log entry short description.|
|ip|string|Audit log entry author IP address.|
|resourceid|string|Audit log entry resource identifier.|
|resourcename|string|Audit log entry resource human readable name.|

[comment]: # ({/83008f2a-83008f2a})

[comment]: # ({5e251161-5e251161})
### Audit log details

|Property|Type|Description|
|--------|----|-----------|
|table\_name|string|Database table name.|
|field\_name|string|Database table field name.|
|oldvalue|string|Database table field old value.|
|newvalue|string|Database table field new value.|

[comment]: # ({/5e251161-5e251161})
