PowerShell module to ingest data into the Log Analytics Ingestion API.

This module is based on the following documented restAPI:

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name OMSIngestionAPI

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name OMSIngestionAPI

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More



Microsoft Corporation. All rights reserved.

Package Details


  • Microsoft Corporation


OMS Logs Analytics Ingestion


Get-OMSAPISignature Send-OMSAPIIngestionFile


This module has no dependencies.

Release Notes

       Updated 3/29/2018
       Support for AzureUSGovernment environment
       If $EnvironmentName parameter is defined for AzureUSGovernment
       when calling Send-OMSAPIIngestionFile cmdlet, ingestion will go to an Azure Government Log Analytics
       workspace.  Otherwise, the Azure Commercial endpoint is leveraged by default.
       Now allows TimeStampField parameter to be null and take ingestion time as the Time field for TimeGenerated.


Version History

Version Downloads Last updated
1.6.0 (current version) 6,492,557 3/29/2018