Azure KQL - project vs project-away
As how development and deployment important, monitoring is also an important thing. so that we can ensure everything works as expected and solve some issues before it makes our services / resources become outage.
Azure has dedicated service for monitoring called "Monitor" which acts as a Log store.
Log Analytics is one of a service which reads logs from azure monitor like-SQL query format which is called here as KQL (Kusto Query Language). This will help us to prepare a chart with required data in monitoring.
This article is not going to talk about deep on Log analytics whereas we are going to have a glimpse of selecting columns / result in following 2 ways.
- project - Have only the required columns in the KQL
- project-away - Have only the unwanted columns in the KQL
- This will help us in a scenario like we have 30 columns and we need 20 columns. Instead of specifying 20 required column names, we can specify 10 unwanted columns
please look into the below image for example and your comments are always welcome.
Comments
Post a Comment