Skip to content

mschrayms/AzureLogAnalyticsHelper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AzureLogAnalyticsHelper

This project is an Azure Functions based wrapper over the Azure Log Analytics REST API. To use this Azure function you need to add three settings to your Azure Functions App Settings.

OPERATIONS_MANAGEMENT_WORKSPACE

OPERATIONS_MANAGEMENT_KEY

LOG_ANALYTICS_APPNAME

##Where do I get the values for this setttings?

The OPERATIONS_MANAGEMENT_WORKSPACE is the "name" (really a GUIDish thing) that is shows up under overview in the Azure Portal after you've created the Azure Log Analytics service. Create your Azure Log Analytics Workspace.

The OPERATIONS_MANAGEMENT_KEY can be obtained the by looking at the data sources in this article.

The LOG_ANALYTICS_APPNAME should be the name you want to appear for your app in the Log Analytics Service. Don't uses spaces of special characters.

How do I deploy this?

Deploy it using continuous deployment.

How do I call this endpoint?

Get the endpoint as described in this acticle.

What does it expect?

It will take any JSON in the body and send it off to the Azure Log Anayltics Service.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%