Skip to content

Commit e8a83e4

Browse files
authored
[DOCS] Fixes field names in ML sum functions. (#83048) (#83052)
1 parent cb2e848 commit e8a83e4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/reference/ml/anomaly-detection/functions/ml-count-functions.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,5 +282,5 @@ PUT _ml/anomaly_detectors/example7
282282

283283
This example detects instances of port scanning. When you use this function in a
284284
detector in your {anomaly-job}, it models the distinct count of ports. It also
285-
detects the `src_ip` values that connect to an unusually high number of different
286-
`dst_ports` values compared to other `src_ip` values.
285+
detects the `src_ip` values that connect to an unusually high number of
286+
different `dst_ports` values compared to other `src_ip` values.

docs/reference/ml/anomaly-detection/functions/ml-sum-functions.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ is not applicable for this function.
102102
--------------------------------------------------
103103
{
104104
"function" : "high_non_null_sum",
105-
"fieldName" : "amount_approved",
106-
"byFieldName" : "employee"
105+
"field_name" : "amount_approved",
106+
"by_field_name" : "employee"
107107
}
108108
--------------------------------------------------
109109
// NOTCONSOLE

0 commit comments

Comments
 (0)