comparison mod_audit/README.md @ 5650:0eb2d5ea2428

merge
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Sat, 06 May 2023 19:40:23 -0500
parents dc058fcc3fe3
children 561503e0c0f1
comparison
equal deleted inserted replaced
5649:2c69577b28c2 5650:0eb2d5ea2428
23 23
24 Before using these modules, you may want to ensure that you are legally 24 Before using these modules, you may want to ensure that you are legally
25 allowed to store the data for the amount of time these modules will store it. 25 allowed to store the data for the amount of time these modules will store it.
26 Note that it is currently not possible to store different event types with 26 Note that it is currently not possible to store different event types with
27 different expiration times. 27 different expiration times.
28
29 ## Viewing the log
30
31 You can view the log using prosodyctl. This works even when Prosody is not
32 running.
33
34 For example, to view the full audit log for example.com:
35
36 ```shell
37 prosodyctl mod_audit example.com
38 ```
39
40 To view only host-wide events (those not attached to a specific user account),
41 use the `--global` option (or use `--no-global` to hide such events):
42
43 ```shell
44 prosodyctl mod_audit --global example.com
45 ```
46
47 To narrow results to a specific user, specify their JID:
48
49 ```shell
50 prosodyctl mod_audit user@example.com
51 ```