[{"label":"Latest (v1)","version":"latest"}]
vrealize-log-insight-cloud-service

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 vRealize Log Insight Cloud 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": [
			{
				"fieldName": "text",
				"operator": "CONTAINS",
				"value": "error"
			}
		],
		"fieldName": "string",
		"operator": "AND",
		"value": "string"
	},
	"name": "string"
}
constraints Required

Query constraints associated with this dataset


string
name Required

A unique dataset name


string
createdAt Optional

ISO8601 date string that when this dataset was created


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


string
lastUpdatedAt Optional

ISO8601 date string that when this dataset was updated


string
lastUpdatedBy Optional

Email ID of the user who updated this dataset


string
createdBy Optional

Email ID of the user who created this dataset


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": [
			{
				"fieldName": "text",
				"operator": "CONTAINS",
				"value": "error"
			}
		],
		"fieldName": "string",
		"operator": "AND",
		"tags": [
			"string"
		],
		"value": "string"
	},
	"createdAt": "string",
	"createdBy": "string",
	"cspOrgId": "string",
	"description": "string",
	"id": "string",
	"lastUpdatedAt": "string",
	"lastUpdatedBy": "string",
	"name": "string",
	"restrictAutocomplete": false,
	"restricts": false
}
constraints Required

Query constraints associated with this dataset


string
name Required

A unique dataset name


string
createdAt Optional

ISO8601 date string that when this dataset was created


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


string
lastUpdatedAt Optional

ISO8601 date string that when this dataset was updated


string
lastUpdatedBy Optional

Email ID of the user who updated this dataset


string
createdBy Optional

Email ID of the user who created this dataset


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":[{"fieldName":"text","operator":"CONTAINS","value":"error"}],"fieldName":"string","operator":"AND","tags":["string"],"value":"string"},"createdAt":"string","createdBy":"string","cspOrgId":"string","description":"string","id":"string","lastUpdatedAt":"string","lastUpdatedBy":"string","name":"string","restrictAutocomplete":false,"restricts":false}' https://{api_host}/vrlic/api/v1/access-control/dataset


[{"label":"Latest (v1)","version":"latest"}]
vrealize-log-insight-cloud-service
Feedback

Was this page helpful?