/connection-manager/api/v1/ueba/datasets
Get dataset object list, possibility to filter training history
Authorization
string
required
OAuth2 token
Successful request, respond with a list of dataset objects
{
"count": 123,
"items": [
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"last_training": "2023-06-07T17:32:28Z",
"is_active": true,
"use_for_inference_once_trained": true,
"time_range_settings": {
"start": "2023-06-07T17:32:28Z",
"end": "2023-06-07T17:32:28Z",
"exclude": [
{
"start": "2023-06-07T17:32:28Z",
"end": "2023-06-07T17:32:28Z"
}
]
},
"training_results": [
{
"created": "2023-06-07T17:32:28Z",
"feature_config_name": "string",
"status": "TRAINING",
"error_code": "string",
"error_details": "string",
"num_connections": 123,
"mean": 123.0,
"std": 123.0,
"quantile_99": 123.0,
"quantile_999": 123.0,
"training_log": "string",
"training_dataset_loss": [
123.0
],
"validation_dataset_loss": [
123.0
],
"validation_dataset_histogram": {
"hist": [
123.0
],
"bin_edges": [
123.0
]
}
}
],
"comment": "string",
"created": "2023-06-07T17:32:28Z",
"created_by": "string",
"updated": "2023-06-07T17:32:28Z",
"updated_by": "string"
}
]
}
/connection-manager/api/v1/ueba/datasets
Save new dataset definition. Note training requires separate action.
id
string
last_training
string
last successful training reported from ueba server
is_active
boolean
if set, dataset based on which inference is done.
use_for_inference_once_trained
boolean
admin can set ueba to take results into use automatically after training completed. Note will toggle is_active bits once training done, as needed.
time_range_settings
object (training_period)
required
Definition of time interval(s) from where connections data is fetched from db for training
start
string
end
string
exclude
array
time ranges to exclude
training_results
array
created
string
when training entry in ueba server created
feature_config_name
string
required
status
string
required
error_code
string
error_details
string
num_connections
int
mean
number
std
number
quantile_99
number
quantile_999
number
training_log
string
training_dataset_loss
array
validation_dataset_loss
array
validation_dataset_histogram
object
comment
string
A comment describing the dataset
created
string
created_by
string
updated
string
updated_by
string
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"last_training": "2023-06-07T17:32:28Z",
"is_active": true,
"use_for_inference_once_trained": true,
"time_range_settings": {
"start": "2023-06-07T17:32:28Z",
"end": "2023-06-07T17:32:28Z",
"exclude": [
{
"start": "2023-06-07T17:32:28Z",
"end": "2023-06-07T17:32:28Z"
}
]
},
"training_results": [
{
"created": "2023-06-07T17:32:28Z",
"feature_config_name": "string",
"status": "TRAINING",
"error_code": "string",
"error_details": "string",
"num_connections": 123,
"mean": 123.0,
"std": 123.0,
"quantile_99": 123.0,
"quantile_999": 123.0,
"training_log": "string",
"training_dataset_loss": [
123.0
],
"validation_dataset_loss": [
123.0
],
"validation_dataset_histogram": {
"hist": [
123.0
],
"bin_edges": [
123.0
]
}
}
],
"comment": "string",
"created": "2023-06-07T17:32:28Z",
"created_by": "string",
"updated": "2023-06-07T17:32:28Z",
"updated_by": "string"
}
Successful request, dataset saved
{
"id": "5bf77342-221c-11ee-be56-0242ac120002"
}
/connection-manager/api/v1/ueba/datasets/{dataset_id}
Get dataset by id, possibility to filter training history
dataset_id
string
required
Successful request, respond with updated dataset
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"last_training": "2023-06-07T17:32:28Z",
"is_active": true,
"use_for_inference_once_trained": true,
"time_range_settings": {
"start": "2023-06-07T17:32:28Z",
"end": "2023-06-07T17:32:28Z",
"exclude": [
{
"start": "2023-06-07T17:32:28Z",
"end": "2023-06-07T17:32:28Z"
}
]
},
"training_results": [
{
"created": "2023-06-07T17:32:28Z",
"feature_config_name": "string",
"status": "TRAINING",
"error_code": "string",
"error_details": "string",
"num_connections": 123,
"mean": 123.0,
"std": 123.0,
"quantile_99": 123.0,
"quantile_999": 123.0,
"training_log": "string",
"training_dataset_loss": [
123.0
],
"validation_dataset_loss": [
123.0
],
"validation_dataset_histogram": {
"hist": [
123.0
],
"bin_edges": [
123.0
]
}
}
],
"comment": "string",
"created": "2023-06-07T17:32:28Z",
"created_by": "string",
"updated": "2023-06-07T17:32:28Z",
"updated_by": "string"
}
/connection-manager/api/v1/ueba/datasets/{dataset_id}
Update dataset. Note this will cause backend to empty training history and delete trained weights in ueba machine. This endpoint will not initiate training.
id
string
last_training
string
last successful training reported from ueba server
is_active
boolean
if set, dataset based on which inference is done.
use_for_inference_once_trained
boolean
admin can set ueba to take results into use automatically after training completed. Note will toggle is_active bits once training done, as needed.
time_range_settings
object (training_period)
required
Definition of time interval(s) from where connections data is fetched from db for training
start
string
end
string
exclude
array
time ranges to exclude
training_results
array
created
string
when training entry in ueba server created
feature_config_name
string
required
status
string
required
error_code
string
error_details
string
num_connections
int
mean
number
std
number
quantile_99
number
quantile_999
number
training_log
string
training_dataset_loss
array
validation_dataset_loss
array
validation_dataset_histogram
object
comment
string
A comment describing the dataset
created
string
created_by
string
updated
string
updated_by
string
{
"id": "5bf77342-221c-11ee-be56-0242ac120002",
"last_training": "2023-06-07T17:32:28Z",
"is_active": true,
"use_for_inference_once_trained": true,
"time_range_settings": {
"start": "2023-06-07T17:32:28Z",
"end": "2023-06-07T17:32:28Z",
"exclude": [
{
"start": "2023-06-07T17:32:28Z",
"end": "2023-06-07T17:32:28Z"
}
]
},
"training_results": [
{
"created": "2023-06-07T17:32:28Z",
"feature_config_name": "string",
"status": "TRAINING",
"error_code": "string",
"error_details": "string",
"num_connections": 123,
"mean": 123.0,
"std": 123.0,
"quantile_99": 123.0,
"quantile_999": 123.0,
"training_log": "string",
"training_dataset_loss": [
123.0
],
"validation_dataset_loss": [
123.0
],
"validation_dataset_histogram": {
"hist": [
123.0
],
"bin_edges": [
123.0
]
}
}
],
"comment": "string",
"created": "2023-06-07T17:32:28Z",
"created_by": "string",
"updated": "2023-06-07T17:32:28Z",
"updated_by": "string"
}
Successful request
Empty response
/connection-manager/api/v1/ueba/datasets/{dataset_id}
Delete dataset
dataset_id
string
required
Successful request
Empty response
/connection-manager/api/v1/ueba/train/{dataset_id}
Train or retrain a saved dataset.
set_active_after_training
boolean
start infering with this dataset after training completed
Training initiated
{
"count": 123
}
/connection-manager/api/v1/ueba/query-connection-count
Get number of connections for dataset with given parameters. All connections, if json empty in body. Enables ui to poll dataset size when user configures period. Note uses post to avoid too long GET url query string.
start
string
end
string
exclude
array
time ranges to exclude
start
string
end
string
{
"start": "2023-06-07T17:32:28Z",
"end": "2023-06-07T17:32:28Z",
"exclude": [
{
"start": "2023-06-07T17:32:28Z",
"end": "2023-06-07T17:32:28Z"
}
]
}
Connection count for specified filters
{
"count": 123
}
Was this page helpful?