Skip to content

About

Utilities for posting custom telemetry to Azure Log Analytics via the HTTP Data Collector API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogAndOrder

Utilities for posting custom telemetry to Azure Log Analytics via the HTTP Data Collector API.

Install

Install-Module LogAndOrder -Scope CurrentUser

Requires PowerShell 5.1+ with access to the PowerShell Gallery.

Use

$env:LA_WORKSPACE_ID = '<workspace-id>'
$env:LA_SHARED_KEY   = '<base64-key>'
$env:LA_LOG_TYPE     = 'MyAppEvent'

Send-LogAnalyticsEvent -Json @{ level = 'INFO'; message = 'hello world' }

Run Get-Help Send-LogAnalyticsEvent -Full for parameters and examples.

Contributing

Import-Module .\LogAndOrder\LogAndOrder.psm1 -Force
Invoke-Pester .\tests

License

MIT — see LICENSE.

About

Utilities for posting custom telemetry to Azure Log Analytics via the HTTP Data Collector API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages