![]() ![]() Although you might not need to interact with them directly, there are scenarios where you might need to directly edit a DCR. Work with DCRs and associations with the following Azure PowerShell cmdlets:ĭata collection rules are formatted in JSON. To work with DCRs outside of the Azure portal, see the following resources: Methodĭirectly edit the DCR in any JSON editor and then install it by using the REST API.Ĭreate DCRs and associations with the Azure CLI. It's applied to any data sent to that table from a legacy workload that doesn't use a DCR. The transformation is defined in a DCR that's then associated with the workspace. This is a highly scalable method of collecting data from a wide range of sources with minimum configuration.Ĭonfigure ingestion-time transformations by using the Azure portalĬonfigure ingestion-time transformations by using Azure Resource Manager templates and the REST APIĬreate a transformation for any supported table in a Log Analytics workspace. Ingest events from Azure Event Hubs to Azure Monitor LogsĬollect data from multiple sources to an event hub and ingest the data you need directly into tables in one or more Log Analytics workspaces. The DCR specifies the target table and potentially includes a transformation that filters and modifies the data before it's stored in a Log Analytics workspace. The agent uses the DCR to configure the collection of data on a machine. The API call connects to a data collection endpoint and specifies a DCR to use. Send custom data by using a REST API or Agent. Use Azure Policy to install Azure Monitor Agent and associate one or more DCRs with any virtual machines or virtual machine scale sets as they're created in your subscription.Ĭonfigure custom logs by using the Azure portalĬonfigure custom logs by using Azure Resource Manager templates and the REST APIĬonfigure text logs by using Azure Monitoring Agent Use Azure Policy to install Azure Monitor Agent and associate with a DCR Azure Monitor Agent will be installed on any machines that don't currently have it. Then apply that rule to one or more virtual machines. Use the Azure portal to create a DCR that specifies events and performance counters to collect from a machine with Azure Monitor Agent. ScenarioĬonfigure data collection for Azure Monitor Agent In other cases, you might need to create and edit it yourself. In some cases, the DCR might be created for you. The following resources describe different scenarios for creating DCRs. For guidance on how to create and update DCRs for other workflows, see Create a data collection rule. Similarly, this page will only allow you to modify DCRs for Azure Monitor Agent. Although this view shows all DCRs in the specified subscriptions, selecting the Create button will create a data collection for Azure Monitor Agent.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |