Skip to content

Store http body request information in App Insights for PowerShell Azure Functions #1100

Open
@stefanstranger

Description

@stefanstranger

What problem would the feature you're requesting solve?

I would like to store the http body request information for a PowerShell http triggered Azure Function in Application Insights.

Here is a link to an article that shows how that can be done in C# "How to log request & response body to Application Insights"

Describe the solution you'd like

A simple and easy way to store from within the Azure PowerShell function code/script data (in this case the information about the http body) in the configured Application Insights.

Describe alternatives you've considered

Currently the only option to do so is to use the Write-Host or Write-Verbose cmdlets.

Additional context

See discussion on Twitter about this topic too.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions