탐색 건너뛰기

Send runbook job status and job streams from Automation to Log Analytics

2016년 8월 12일 금요일

You can now send runbook job status and runbook job streams from Azure Automation to your Azure Log Analytics (Operations Management Suite) workspace. Some use cases for this feature are:

  • Get insight on your Automation jobs.
  • Trigger an email or alert based on your runbook job status (failed, suspended).
  • Write advanced queries across your job streams.
  • Correlate jobs across Automation accounts.
  • Visualize your job history over time.

When your logs are being sent to Log Analytics, you can write queries against your Automation logs and set up alerts. Here are a few sample queries to illustrate how you can use these logs:   

  • Failed or suspended jobs: Category=JobLogs (ResultType=Failed || ResultType=Suspended)
  • Jobs with error streams (by job ID): Category=JobStreams StreamType_s=Error | measure count() by JobId_g
  • Investigate job streams for a job: Category=JobStreams JobId_g="INSERT RUNBOOK JOB ID HERE" | sort TimeGenerated | select ResultDescription
  • Job history over time: Category=JobLogs NOT(ResultType="Started") | measure Count() by ResultType interval 1day

To learn more about how to send Automation logs to Log Analytics, see Forward job status and job streams from Automation to Log Analytics (OMS)

For more information, see:

 

체험 계정

Azure 크레딧 $200을 얻고 인기 서비스를 12개월 간 체험해 보세요.

시작

Visual Studio

구독자는 매년 최대 $1800 상당의 Azure 서비스를 이용할 수 있습니다.

지금 활성화

스타트업

Microsoft for Startups에 참가하고 Azure 서비스를 체험해 보세요.

자세한 정보