Skip to main content

monitored_resources

Creates, updates, deletes, gets or lists a monitored_resources resource.

Overview

Namemonitored_resources
TypeResource
Idazure_isv.elastic.monitored_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ARM id of the resource.
reasonForLogsStatusstringReason for why the resource is sending logs (or why it is not sending).
sendingLogsstringFlag indicating the status of the resource for sending logs operation to Elastic. (title: SendingLogs)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, monitorName

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
monitorNamestringMonitor resource name
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Success

SELECT
id,
reasonForLogsStatus,
sendingLogs
FROM azure_isv.elastic.monitored_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;