> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Log Analytics List Workspaces In Resource Group

Gets log analytics workspaces in a resource group.

<Note>
  External Documentation

  To learn more, visit the [Azure documentation](https://learn.microsoft.com/en-us/rest/api/loganalytics/workspaces/list-by-resource-group?view=rest-loganalytics-2022-10-01\&tabs=HTTP).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter           | Description                                                                                                          |
  | ------------------- | -------------------------------------------------------------------------------------------------------------------- |
  | Resource Group Name | The name of the resource group. The name is case insensitive. Can be obtained via the `List Resource Groups` action. |
  | Subscription ID     | The ID of the target subscription. Can be obtained via the `List Subscriptions` action.                              |
</div>

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"properties": {
				"customerId": "<string>",
				"provisioningState": "<string>",
				"sku": {
					"name": "<string>",
					"lastSkuUpdate": "2022-05-05T10:32:46"
				},
				"retentionInDays": 69,
				"features": {
					"legacy": 182,
					"searchVersion": 968,
					"enableLogAccessUsingOnlyResourcePermissions": true
				},
				"workspaceCapping": {
					"dailyQuotaGb": 477.85,
					"quotaNextResetTime": "2023-10-22T01:34:37",
					"dataIngestionStatus": "<string>"
				},
				"publicNetworkAccessForIngestion": "<string>",
				"publicNetworkAccessForQuery": "<string>",
				"createdDate": "2023-05-22T21:30:28",
				"modifiedDate": "2023-11-06T02:22:25"
			},
			"location": "<string>",
			"tags": {},
			"id": "<string>",
			"name": "<string>",
			"type": "<string>",
			"etag": "<string>"
		}
	]
}
```

## Workflow Library Example

[Log Analytics List Workspaces in Resource Group with Azure and Send Results Via Email](https://library.blinkops.com/workflows/log-analytics-list-workspaces-in-resource-group-with-azure-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/log-analytics-list-workspaces-in-resource-group-with-azure-and-send-results-via-email/canvas" />
</div>
