View your favorite queries from the Favorites option in the query interface. Select the star next to the query to add it to Favorites. You can identify frequently used queries as favorites to give you quicker access. You can use tags to create your own taxonomies for organizing queries. Query type might be Example queries, Query pack queries, or Legacy queries.Ĭustom labels that you can define and assign when you save your own query.Ĭustom properties that you can define when you create a query pack. The topic property is unique to example queries and might differ according to the specific resource type.ĭefines the type of the query. The topic of the example query, such as Activity logs or App logs. For a full list of categories, see the Azure Monitor table reference.Īn Azure Monitor solution associated with the queries. Categories are identical to the categories defined in the Tables side pane. For a full mapping of Azure Monitor Logs and Log Analytics tables to resource type, see the Azure Monitor table reference.Ī type of information, such as Security or Audit. The types of properties are: Query propertyĪ resource as defined in Azure, such as a virtual machine. You can define several of them when you save your own query. These properties are available for sorting and filtering. Query propertiesĮach query has multiple properties that help you group and find them. For example, if you're using a resource group with multiple resources, you might want to filter down to a specific resource type and arrange the resulting queries by topic. They provide flexibility in how queries are arranged. The filter and group by functionalities are designed to work in tandem. In the Example queries dialog, the filters are found at the top. You can also filter the queries according to the group by values mentioned earlier. If your organization created query packs with tags, the custom tags will be included in this list. Selecting one of the values on the left side of the screen scrolls the Queries view directly to the item selected. The grouping values also act as an active table of contents. The options in this section are available in both the dialog and sidebar query experience, but with a slightly different user interface.Ĭhange the grouping of the queries by selecting the group by dropdown list. Hover over a query name to get the query description and more functionality. You can access the same functionality of the dialog experience from the Queries pane on the left sidebar of Log Analytics. You can also access it by selecting Queries in the upper-right corner. You can run the query directly from the dialog or choose to load it to the query editor for modification. You can quickly scan through the queries to find what you need. If you don't want this dialog to automatically appear, turn off the Always show Queries toggle.Įach query is represented by a card. When you open Log Analytics, the Queries dialog automatically appears. Select queries from the query interface, which is available from two different locations in Log Analytics. You must have Microsoft.OperationalInsights/workspaces/query/*/read permissions to the Log Analytics workspaces you query, as provided by the Log Analytics Reader built-in role, for example. This article describes the queries that are available and how you can discover and use them. The available queries include examples provided by Azure Monitor and queries saved by your organization. You can either run these queries without modification or use them as a starting point for your own queries. When you open Log Analytics, you can access existing log queries.
0 Comments
Leave a Reply. |