Skip to content

Commit a6494b1

Browse files
authored
docs: fix example audit log directory structure (#51435)
These docs have been incorrect since we introduced an NFS-friendly audit log directory structure in #1549. Note: our audit log is very much NOT NFS-friendly, despite the intent of that old PR.
1 parent 8ac0f4d commit a6494b1

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/pages/reference/monitoring/audit.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,19 @@ more information on how to configure the audit log, refer to the `storage`
5858
section of the example configuration file in the
5959
[Teleport Configuration Reference](../config.mdx).
6060

61-
Let's examine the Teleport audit log using the `dir` backend. The event log is
62-
stored in Teleport's data dir under the `log` directory. This is usually
63-
`/var/lib/teleport/log`. Each day is represented as a file:
61+
Let's examine the Teleport audit log using the `dir` backend. Teleport Auth
62+
Service instances write their logs to a subdirectory of Teleport's configured
63+
data directory that is named based on the service's UUID.
64+
65+
Each day is represented as a file:
6466

6567
```code
66-
$ ls -l /var/lib/teleport/log/
68+
$ ls -l /var/lib/teleport/log/bbdfe5be-fb97-43af-bf3b-29ef2e302941
6769
6870
# total 104
69-
# -rw-r----- 1 root root 31638 Jan 22 20:00 2017-01-23.00:00:00.log
70-
# -rw-r----- 1 root root 91256 Jan 31 21:00 2017-02-01.00:00:00.log
71-
# -rw-r----- 1 root root 15815 Feb 32 22:54 2017-02-03.00:00:00.log
71+
# -rw-r----- 1 root root 31638 Jan 22 20:00 2022-01-23.00:00:00.log
72+
# -rw-r----- 1 root root 91256 Jan 31 21:00 2022-02-01.00:00:00.log
73+
# -rw-r----- 1 root root 15815 Feb 32 22:54 2022-02-03.00:00:00.log
7274
```
7375

7476
</TabItem>

0 commit comments

Comments
 (0)