File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
docs/reference/ml/anomaly-detection/functions Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 2
2
= Time functions
3
3
4
4
The time functions detect events that happen at unusual times, either of the day
5
- or of the week. These functions can be used to find unusual patterns of behavior,
6
- typically associated with suspicious user activity.
5
+ or of the week. These functions can be used to find unusual patterns of
6
+ behavior, typically associated with suspicious user activity.
7
7
8
8
The {ml-features} include the following time functions:
9
9
@@ -77,6 +77,12 @@ its past behavior.
77
77
The `time_of_week` function detects when events occur that are outside normal
78
78
usage patterns. For example, it detects login events on the weekend.
79
79
80
+ IMPORTANT: The `time_of_week` function models time in epoch seconds modulo the
81
+ duration of a week in seconds. It means that the `typical` and `actual` values
82
+ are seconds after a whole number of weeks since 1/1/1970 in UTC which is a
83
+ Thursday. For example, a value of `475` is 475 seconds after midnight on
84
+ Thursday in UTC.
85
+
80
86
This function supports the following properties:
81
87
82
88
* `by_field_name` (optional)
@@ -102,3 +108,5 @@ models when events occur throughout the week for each `eventcode`. It detects
102
108
when a workstation event occurs at an unusual time during the week for that
103
109
`eventcode` compared to other workstations. It detects events for a
104
110
particular workstation that are outside the normal usage pattern.
111
+
112
+
You can’t perform that action at this time.
0 commit comments