Update Dataset
Updates the dataset
Dataset Id to perform PUT operation
{
"id": "d5a4a8d-7c9d-4762-99f7-fe4be6a77908",
"name": "test_dataset",
"description": "test_dataset description",
"cspOrgId": "678ea4a8d-7c9d-4762-99f7-fe4be6a77908",
"restrictAutocomplete": false,
"restricts": false,
"constraints": {
"operator": "AND",
"constraints": [
{
"operator": "AND",
"tags": [
"aria-logs:search-bar"
],
"constraints": [
{
"fieldName": "text",
"operator": "CONTAINS",
"value": "error"
}
]
},
{
"operator": "AND",
"constraints": [
{
"fieldName": "text",
"operator": "CONTAINS",
"value": "error"
},
{
"fieldName": "text",
"operator": "CONTAINS",
"value": "test"
}
]
}
]
}
}
A unique dataset identifier
A unique dataset name
Dataset description that is shown in the UI
Unique ID associated with the org
Determines how a data set should behave when combined with other data sets. E.g., consider if you have two data sets Data set 1 (hostname contains host, appname contains app) and Data set 2 (severity contains error). If both of these data sets are added to a role, the resulting combined data set would be: (hostname contains host AND appname contains app) OR (severity contains error). However, if the 'restrict' is true for data set 2, the combined data set would be: (hostname contains host AND appname contains app) AND (severity contains error)
Represents whether autocomplete is restricted in the Explore Logs feature
OK
{
"id": "d5a4a8d-7c9d-4762-99f7-fe4be6a77908",
"name": "test_dataset",
"description": "test_dataset description",
"cspOrgId": "678ea4a8d-7c9d-4762-99f7-fe4be6a77908",
"restrictAutocomplete": false,
"restricts": false,
"constraints": {
"operator": "AND",
"constraints": [
{
"operator": "AND",
"tags": [
"aria-logs:search-bar"
],
"constraints": [
{
"fieldName": "text",
"operator": "CONTAINS",
"value": "error"
}
]
},
{
"operator": "AND",
"constraints": [
{
"fieldName": "text",
"operator": "CONTAINS",
"value": "error"
},
{
"fieldName": "text",
"operator": "CONTAINS",
"value": "test"
}
]
}
]
}
}
A unique dataset identifier
A unique dataset name
Dataset description that is shown in the UI
Unique ID associated with the org
Determines how a data set should behave when combined with other data sets. E.g., consider if you have two data sets Data set 1 (hostname contains host, appname contains app) and Data set 2 (severity contains error). If both of these data sets are added to a role, the resulting combined data set would be: (hostname contains host AND appname contains app) OR (severity contains error). However, if the 'restrict' is true for data set 2, the combined data set would be: (hostname contains host AND appname contains app) AND (severity contains error)
Represents whether autocomplete is restricted in the Explore Logs feature