How to link automation account to Log Analytics workspace

Userss12 0 Reputation points
2024-10-16T14:05:35.87+00:00

I a have created a new automation account and Log Analytics workspace, but there is no way to link them. I have found some steps, but the option from update management is not availible anymore.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,272 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Dan Rios 1,990 Reputation points MVP
    2024-10-16T18:59:21.87+00:00

    You can create diagnostic settings on the Azure Automation Account using this guide:

    https://learn.microsoft.com/en-us/azure/automation/automation-manage-send-joblogs-log-analytics

    Once you have set this up, selecting all the diagnostic information you want to pipe to Log Analytics it should start to populate the workspace with data when your jobs start triggering.

    please mark as accepted answer if this helped solve your issue!


  2. Userss12 0 Reputation points
    2024-10-17T10:11:07.16+00:00

    i have created a Diagnostic setting connected to te new law with al settings (and Send to Log Analytics workspace). Created a new runbook to check al vm in the law, but the text is still : This Automation account is not linked to a Log Analytics workspace. Or does it take some time?

    0 comments No comments

  3. Userss12 0 Reputation points
    2024-10-17T11:22:59.7666667+00:00

    can be removed. Double message.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.