Azure / Azure/azure-cli

List All Log Analytics Workspace Functions

Open
#29,657 2 comments 0 reactions 1 assignee Claimed by @AllyW View on GitHub
act-observability-squad Auto-Assign Azure CLI Team customer-reported feature-request Monitor
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

# Feature Request: List All Log Analytics Workspace Functions

## Related command
`az monitor log-analytics workspace saved-search list`

## Is your feature request related to a problem? Please describe.
The current implementation of listing Log Analytics workspace functions is missing the built-in, non-modifiable functions. This makes it difficult to get a comprehensive view of all available functions in a workspace, especially those that are part of the default set and cannot be edited.

## Describe the solution you'd like
I would like to see ALL functions when listing them, not just the ones that are editable. This should include:
1. User-defined (custom) functions
2. Built-in functions that come with the workspace
3. Any other non-modifiable functions that are available in the workspace

Ideally, there should be a way to distinguish between these different types of functions in the output.

## Describe alternatives you've considered
I've explored several alternatives but haven't found a satisfactory solution:
1. Using the REST API directly: I couldn't find any endpoint that exposes all functions, including the non-modifiable ones. SavedSearches yields same results.

## Additional context
Here's a screenshot showing the discrepancy between the functions visible in the Azure portal which are missing from response.

![image](https://github.com/user-attachments/assets/385aa90f-7728-4100-84dc-98ff1bd131c8)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.