![]() ![]() Using camel case immediately lets me identify a name as being created from a let statement and not an operator or table / column name. Some examples you’ll find later in this post are timeDiffInDays, usageData, and counterName. With camel casing, the first letter is in lower case, but any different words after it are placed in capitals. To keep these distinct from other KQL items I use what is known as camel case. Some examples are Perf, AppRequests, and AppAvailabilityResults.Īs mentioned in the intro, let allows you to create variables to hold variable data, constants, and functions. ![]() In mixed case, the first letter is capitalized, then letters of distinct words are also capitalized. Table and column names though are almost always in mixedcase, although when users create their own data clusters they can use whatever casing they wish. If you have been following my posts in this Fun With KQL series, you’ll have noticed that operators and functions in KQL are all in lowercase. Finally, Microsoft may make changes to both the user interface and the data structures between the time I write this and when you read it. Second, I’ll be using the column tool (discussed in the introductory post) to limit the output to just the columns needed to demonstrate the query. First, Microsoft only keeps a few days of demo data, which are constantly updated, so the dates and sample data won’t match the screen shots. Note that my output may not look exactly like yours when you run the sample queries for several reasons. It describes the user interface in detail. ![]() If you’ve not read my introductory post in this series, I’d advise you to do so now. This demo site has been provided by Microsoft and can be used to learn the Kusto Query Language at no cost to you. Let me tell you, it’s very powerful.īefore I go further, let me say the samples in this post will be run inside the LogAnalytics demo site found at. It lets you create constants, variables, datasets, and even reusable functions. Let me tell you about let, my favorite operator in the Kusto Query Language. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |