Log Analytics Workspace is a logical storage unit in Azure that stores all log data produced by Azure Monitors. Azure Log Analytics Workspace simplifies the management of log data collected from various data sources such as Azure Virtual Machines.
To provide better insights into the data, Azure log analytics can be used to query and retrieve data from multiple monitor logs that meet certain criteria.
The Execute Queries section in the Log Analytics Workspace resource offers a number of Query-related operations.
Customers can write a query in the Query field to generate query data that meets their needs.
The Query data can be viewed in any of the available formats:
The Query library option in the Execute Queries section allows users to access the preset queries from the Azure portal directly in Serverless360. Users can easily add any of those queries to their Saved queries by using the Save icon found on each query.
The Saved queries option in the Execute Queries section allows users to access all the saved queries and easily generate Query data. Customers can also edit their saved queries and update the favorite query.
A Favorite query is one that is available by default in the Execute Queries section. A query can be marked as favorite by editing any one of the saved queries or by saving a query.
Users now have access to a default Log Analytics Workspace Dashboard within the Log Analytics Workspace resource, allowing for enhanced data visualisation and tracking of real-time data.
Users are provided with the following pre-defined Dashboard widgets, which can be customised to meet their specific needs.
1. Total Rx Errors
2. Total Tx Errors
3. Total Collisions
4. Average Interrupt Time
Queries can also be used to generate real-time data in Dashboard widgets to provide a more personalised user experience.
Query widgets can be added to both the Business Application and the Resource Dashboard when the Data source value for Log Analytic Workspace resource is set to Query in widget configuration.
In the query field, type a valid query and hit the Run button. Selecting the appropriate data label from the Y axis dropdown and the X axis checkboxes allows users to customise the values that appear on the x and y axes.
Query widgets do not display time settings information in its tooltip because the data is generated only for the desired query, regardless of time settings configuration.
Count charts do not support Query data sources.
Users can monitor their Log Analytics Workspace resources by configuring the rules available for monitoring.
Navigate to the Monitoring section of the resource to configure the monitoring rules for Log Analytics Workspace.
Users can specify monitoring threshold values based on their needs.
When the monitoring rule type is a metric, selecting metric against metric rules is also an option.
- Users can view the properties of the Log Analytics Workspace by clicking the Properties option available at the top.