From the course: Microsoft Azure Cosmos DB Developer Specialty (DP-420) Cert Prep by Microsoft Press

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Implement and query Azure Cosmos DB logs

Implement and query Azure Cosmos DB logs

- [Instructor] So this brings us to Azure Log Analytics. What is Log Analytics? Log Analytics is a Microsoft hosted log ingestion engine. And what you can do is import logs from various data sources. As you can see you're limited not to Azure, but you can go to other clouds, you can go to your on-premises data center and you can capture from all of your different data sources log data. And of course that would pertain to Cosmos as well. As long as Azure Log Analytics understands the log that's being emitted, it will rationalize that incoming log data as a table that looks and behaves a lot like a relational database table with columns, rows, and data types. Lastly, you can use the Kusto query language, K-U-S-T-O, or KQL for short, an example of which is down here. And you can write queries that span all of your different data sources. Isn't that powerful from a monitoring standpoint? So in this example, we're looking at…

Contents