/
DCR (Data Collection Rule) Setup

DCR (Data Collection Rule) Setup

Steps to set up analytics workspace:

  1. Search for Data Collection Rules:

    • Locate and select the Data Collection Rules option in your Azure portal.

  2. Click on Create:

    • Choose Create and then select the Basic option.

  3. Enter Details:

    • Rule Name: Provide a name for the rule.

    • Resource Group: Select the resource group associated with your Log Analytics workspace.

    • Region: Choose the same region as your Log Analytics workspace.

    • Platform: Select any option as we are ingesting through API.

    • Region: Select the region where you want your workspace to be located. It’s best to choose a region close to your resources to minimize latency.

    • Data Collection Endpoint: Provide data collection endpoint detail which is created in previous step.

  4. Resources: (optional).

  5. Collect and deliver:

    • DataSource: As our source data is coming up from API call, we can use Linux Syslog or any other option as it’s currently mandatory field, which should give option to select Azure Monitoring Logs in destination.

    • Destination: Add destination as Azure Monitoring Logs and select workspace as your Log Analytics workspace.

  6. Add Tags (optional):

    • Tags can be added to help categorize or manage resources but are not required.

  7. Review and Create:

    • Review your settings and click Create to finalize the creation of the Data Collection Rule.