Export of Azure Functions Logs to Elasticsearch on Azure

Savva 40 Reputation points
2023-03-31T17:40:37.28+00:00

Hello! I would like to know what is the best way to stream logs of Azure Functions to Elasticsearch deployed using native integration between Azure and Elastic Cloud?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
0 comments No comments
{count} votes

Accepted answer
  1. David Pazdera 396 Reputation points
    2023-04-04T13:21:34.7033333+00:00

    Hello Savva, This should be a two-step process:

    1. Create Elastic resource (a reference point to your Elastic Cloud setup) by following this guide. Leave checkboxes in the Logs & metrics tab empty**.**
    2. For your Function App, configure Diagnostic settings and for the Destination details, select the Elastic resource you created in step 1. It can be created in a different subscription than the one you use for the Function App. You can follow this guide here.

    In case something doesn't work, you can use this handy troubleshooting guide: https://learn.microsoft.com/en-us/azure/partner-solutions/elastic/troubleshoot

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.