Create Dataset
DescriptionYou can create a data set to restrict the kind of log data available to different users. A data set contains filters that restrict log results. When you create a role, you can associate it with a data set. The filters in the data set are applied to log messages in VMware Aria Operations for Logs and the resulting log content is displayed to users assigned to the role
Request
URLURL
Request Body
{
"constraints": {
"constraints": "QueryConstraint Object",
"operator": "AND"
},
"name": "string"
}
A unique dataset name
Unique ID associated with the org
Dataset description that is shown in the UI
A unique dataset identifier
Represents whether autocomplete is restricted in the Explore Logs feature
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)
Authentication
Response
Response BodyResponse Body
200 OK
{
"constraints": {
"constraints": "QueryConstraint Object",
"fieldName": "string",
"operator": "AND",
"tags": [
"string"
],
"value": "string"
},
"cspOrgId": "string",
"description": "string",
"id": "string",
"name": "string",
"restrictAutocomplete": false,
"restricts": false
}
A unique dataset name
Unique ID associated with the org
Dataset description that is shown in the UI
A unique dataset identifier
Represents whether autocomplete is restricted in the Explore Logs feature
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)