Zabbix Documentation 5.0

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:api:reference:auditlog:audit_log_object

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:api:reference:auditlog:audit_log_object [2020/02/13 12:08]
gcalenko removed
— (current)
Line 1: Line 1:
-===== > Audit log object ===== 
  
-The following objects are directly related to the ''​auditlog''​ API. 
- 
-==== Audit log ==== 
- 
-The audit log object contains information about user actions. It has the following properties. 
- 
-^  Property ​    ​^ ​ Type     ​^ ​ Description ​    ^ 
-| auditid ​       | string ​        | (readonly) ID of audit log entry. | 
-| userid ​        | string ​   | Audit log entry author userid. | 
-| action ​        | integer ​   | Audit log entry action. \\ \\ Possible values are: \\ 0 - Add; \\ 1 - Update; \\ 2 - Delete; \\ 3 - Login; \\ 4 - Logout; \\ 5 - Enable; \\ 6 - Disable. | 
-| clock          | timestamp ​ | Audit log entry creation timestamp. | 
-| resourcetype ​  | integer ​   | Audit log entry resource type. \\ \\ Possible values are: \\ 0 - User; \\ 2 - Configuration of Zabbix; \\ 3 - Media type; \\ 4 - Host; \\ 5 - Action; \\ 6 - Graph; \\ 7 - Graph element; \\ 11 - User group; \\ 12 - Application;​ \\ 13 - Trigger; \\ 14 - Host group; \\ 15 - Item; \\ 16 - Image; \\ 17 - Value map; \\ 18 - Service; \\ 19 - Map; \\ 20 - Screen; \\ 22 - Web scenario; \\ 23 - Discovery rule; \\ 24 - Slide show; \\ 25 - Script; \\ 26 - Proxy; \\ 27 - Maintenance;​ \\ 28 - Regular expression; \\ 29 - Macro; \\ 30 - Template; \\ 31 - Trigger prototype; \\ 32 - Icon mapping; \\ 33 - Dashboard; \\ 34 - Event correlation;​ \\ 35 - Graph prototype; \\ 36 - Item prototype; \\ 37 - Host prototype; \\ 38 - Autoregistration;​ \\ 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. | 
- 
-==== 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. |