You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Optional, long) Identifier for the category. If you do not specify this
43
-
parameter, the API returns information about all categories in the
44
-
{anomaly-job}.
50
+
(Optional, long) Identifier for the category. If you do not specify this
51
+
parameter, the API returns information about all categories in the {anomaly-job}.
45
52
46
53
[[ml-get-category-request-body]]
47
54
==== {api-request-body-title}
48
55
49
56
`page`::
50
-
`from`:::
51
-
(Optional, integer) Skips the specified number of categories.
52
-
`size`:::
53
-
(Optional, integer) Specifies the maximum number of categories to obtain.
57
+
`page`.`from`:::
58
+
(Optional, integer) Skips the specified number of categories.
59
+
`page`.`size`:::
60
+
(Optional, integer) Specifies the maximum number of categories to obtain.
54
61
55
62
[[ml-get-category-results]]
56
63
==== {api-response-body-title}
57
64
58
-
The API returns the following information:
65
+
The API returns an array of category objects, which have the following properties:
59
66
60
-
`categories`::
61
-
(array) An array of category objects. For more information, see
62
-
<<ml-results-categories,Categories>>.
67
+
`category_id`::
68
+
(unsigned integer) A unique identifier for the category.
69
+
70
+
`examples`::
71
+
(array) A list of examples of actual values that matched the category.
72
+
73
+
`grok_pattern`::
74
+
experimental[] (string) A Grok pattern that could be used in {ls} or an ingest
75
+
pipeline to extract fields from messages that match the category. This field is experimental and may be changed or removed in a future release. The Grok
76
+
patterns that are found are not optimal, but are often a good starting point for
0 commit comments