You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/admin/audit-logs.md
+12
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,18 @@ This feature tracks **create, update and delete** events for the following resou
13
13
- APIKey
14
14
- User
15
15
16
+
## Filtering logs
17
+
18
+
In the Coder UI you can filter your audit logs using the pre-defined filter or by using the Coder's filter query like the examples below:
19
+
20
+
-`resource_type:workspace action:delete` to find deleted workspaces
21
+
-`resource_type:template action:create` to find created templates
22
+
23
+
The supported filters are:
24
+
25
+
-`resource_type` - The type of the resource. It can be a workspace, template, user, etc. You can [find here](https://pkg.go.dev/github.com/coder/coder@main/codersdk#ResourceType) all the resource types that are supported.
26
+
-`action`- The action applied to a resource. You can [find here](https://pkg.go.dev/github.com/coder/coder@main/codersdk#AuditAction) all the actions that are supported.
27
+
16
28
## Enabling this feature
17
29
18
30
This feature is autoenabled for all enterprise deployments. An Admin can contact us to purchase a license [here](https://coder.com/contact?note=I%20want%20to%20upgrade%20my%20license).
0 commit comments