Skip to content

Commit 432c6d1

Browse files
[DOC-14250] Fix incorrect unit description for elapsedTime in Audit Logs (#632)
1 parent f538326 commit 432c6d1

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

modules/n1ql/pages/n1ql-language-reference/n1ql-auditing.adoc

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,20 @@ The syslog format will allow for integration with third party SIEM tools, such a
130130
| `success`
131131

132132
| `metrics`
133-
| The elapsed time (ms), execution time, result count, and result size (MB).
133+
| The elapsed time, execution time, result count, and result size (MB).
134+
135+
The elapsed time and execution time use a duration string format, which includes a numeric value and a unit suffix.
136+
The unit varies depending on the duration of the query.
137+
138+
Valid units are:
139+
140+
* `ms` - milliseconds
141+
* `µs` - microseconds
142+
* `ns` - nanoseconds
143+
* `s` - seconds
144+
* `m` - minutes
145+
* `h` - hours
134146

135-
The execution time can be in milliseconds (ms), microseconds (µs), or nanoseconds (ns), depending on the duration of the query.
136-
To determine the unit, check the suffix of each value.
137147
| `"elapsedTime":"7.599684ms",`
138148

139149
`"executionTime":"7.507755ms",`

0 commit comments

Comments
 (0)