Collect Custom Windows Event Logs in Log Analytics

Log AnalyticsAdding most Windows Event Logs to Log Analytics is a straightforward process.  Simply go to the Advanced properties in the Workspace > Windows Event Logs and start typing the name.  A pre-populated list will appear as shown below.  Selected the log and add it for collection.  But what if the log you are looking for is not listed in Log Analytics? Continue reading “Collect Custom Windows Event Logs in Log Analytics”

JSON and ARM Templates

ARM Templates are written with JSON and are at the core of Azure Resource Manager deployments.  I have used and developed templates for months.  Although successful, I ran into issues with formatting and syntax this week and decided to take a step back and get a better understanding of the underlying JSON used in these templates.  In this post, I start from the beginning, exploring JSON as it relates to ARM templates. Continue reading “JSON and ARM Templates”

Parent Child Runbooks and Shared Variables with Azure Automation

AzureAutomationIn this video I go over the two methods of starting a runbook from another runbook.  This is referred to as a parent child runbook relationship that facilitates a modular approach to creating runbooks.  I go over the two different ways to start a child runbook, by Inline Execution and with the Start-AzureRMAutomationRunbook cmdlet.  Continue reading “Parent Child Runbooks and Shared Variables with Azure Automation”

Azure Disk Encryption, V2

Disk EncryptionThe only constant is change.  I noticed some new information came out this month while working on a project that requires encrypting disks.  This information significantly changes how Azure Disk Encryption can be applied to Windows and Linux VM’s.  This is an update to my previous article on Azure Disk Encryption with the intention of outlining the new, easier method of encrypting Azure disks. Continue reading “Azure Disk Encryption, V2”

Create and Run PowerShell Runbooks in Azure Automation

AzureAutomationIn this video I demonstrate how to create and run Azure Automation PowerShell Runbooks from the Azure Portal.  This includes editing, publishing and scheduling runbooks.  I also walk through the setup and use of the Azure Automation PowerShell ISE Add-on.  This module adds a graphical interface in PowerShell ISE for creating, testing and publishing Powershell and PowerShell Workflow Runbooks.  More information on the ISE add-on here. Continue reading “Create and Run PowerShell Runbooks in Azure Automation”

Log Ping Response to Log Analytics

Today I am publishing a utility called PingTimeLog.  The idea is simple; ping a group of servers and write the response time to Azure Log Analytics. This utility is intended to be run as a Runbook on an Azure Automation Hybrid Worker.  Alternatively, it will run as a scheduled task on a server in your datacenter.  The output is written to Azure Log Analytics as a custom Type, allowing users to plot response times in a time chart.

Continue reading “Log Ping Response to Log Analytics”

Authentication and Azure Automation Runbooks

AzureAutomationRecently I ran into an issue with Authentication and Azure Automation child runbooks. The goal was to call a PowerShell child runbook following the documentation here. I was using the cmdlet method, starting the runbook with the Start-AzureRmAutomationRunbook command. Trying to call the child runbook from the parent, I get the error: Continue reading “Authentication and Azure Automation Runbooks”

Azure OMS Log Analytics Step by Step – Adding Custom Logs

In previous videos I demonstrated how to collect Event logs from a Windows server in Azure Log Analytics. You may need to also collect custom logs from applications that don’t log to the event log. In this video I show how to collect custom logs in Azure Log Analytics. Once collected, I also show how to define custom fields in those custom logs and run queries against it. Continue reading “Azure OMS Log Analytics Step by Step – Adding Custom Logs”