Skip to content

Commit

Permalink
Update audit json logging design doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mreynolds389 committed Jul 5, 2024
1 parent 169b099 commit dadb85c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/389ds/design/audit-json-logging-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ JSON Design
```
[
{
date: <strftime output - customizable>
time: <local time - same as original audit log time format>
local_time: <strftime output - customizable>
gm_time: <gm time - uses a fixed format of **%FT%TZ**>
target_dn: DN,
bind_dn: DN,
client_ip: IP_ADDRESS,
Expand Down Expand Up @@ -58,17 +58,17 @@ JSON Design
Configuration
------------------------

Add a new configuration setting for audit logging under **cn=config**
Added a new configuration setting for audit/auditfail logging under **cn=config**

```
nsslapd-auditlog-json-format: default | json | json-pretty
```

For now set this to "default", but in a next major release it should be set to "json" by default.

When switching to a new logging format the current log will be rotated
When switching to a new logging format the current log will be rotated.

You can also adjust the time format using strftime conversion specifications. The default would be **%FT%TZ**
You can also customize the "local_time" format using strftime conversion specifications. The default would be **%FT%TZ**

nsslapd-auditlog-time-format: {strftime specs}

Expand Down

0 comments on commit dadb85c

Please sign in to comment.