DEV Community

Will Velida
Will Velida

Posted on

Sending Cosmos DB Diagnostic Logs to Log Analytics with Terraform

In this video, we cover Data sources in Terraform and how we can use them to reference resources defined either outside of Terraform or in other Terraform configuration files in our Terraform files.

We also talk about Diagnostic Logs in Azure are and how we can configure Diagnostic logs in our Azure Cosmos DB account to be sent to a Log Analytics workspace.

If you have any questions, comment below or reach out to me via Twitter: Twitter:

Data Sources in Terraform:
Log Analytics (Terraform Docs):
Diagnostic Logs (Terraform Docs):
Monitor Azure Cosmos DB data by using diagnostic settings in Azure:
GitHub code:

Top comments (0)