[{"label":"Latest (v1)","version":"latest"}]
vmware-aria-operations-for-logs

Create Dataset

Description

You 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

Request

URL

URL


post
https://{api_host}/vrlic/api/v1/access-control/dataset
Copy

Request Body

Request Body

DatasetDto of mimetype application/json Required
{
	"constraints": {
		"constraints": "QueryConstraint Object",
		"operator": "AND"
	},
	"name": "string"
}
constraints Required

Query constraints associated with this dataset


string
name Required

A unique dataset name


string
cspOrgId Optional

Unique ID associated with the org


string
description Optional

Dataset description that is shown in the UI


string
id Optional

A unique dataset identifier


boolean
restrictAutocomplete Optional

Represents whether autocomplete is restricted in the Explore Logs feature


boolean
restricts Optional

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns DatasetDto of type */*
{
	"constraints": {
		"constraints": "QueryConstraint Object",
		"fieldName": "string",
		"operator": "AND",
		"tags": [
			"string"
		],
		"value": "string"
	},
	"cspOrgId": "string",
	"description": "string",
	"id": "string",
	"name": "string",
	"restrictAutocomplete": false,
	"restricts": false
}
constraints Required

Query constraints associated with this dataset


string
name Required

A unique dataset name


string
cspOrgId Optional

Unique ID associated with the org


string
description Optional

Dataset description that is shown in the UI


string
id Optional

A unique dataset identifier


boolean
restrictAutocomplete Optional

Represents whether autocomplete is restricted in the Explore Logs feature


boolean
restricts Optional

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)

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"constraints":{"constraints":"QueryConstraint Object","fieldName":"string","operator":"AND","tags":["string"],"value":"string"},"cspOrgId":"string","description":"string","id":"string","name":"string","restrictAutocomplete":false,"restricts":false}' https://{api_host}/vrlic/api/v1/access-control/dataset


[{"label":"Latest (v1)","version":"latest"}]
vmware-aria-operations-for-logs
Feedback

Was this page helpful?