Have you have upgraded to the new OMS Query language?

This new language and features was announced here https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-log-search-upgrade
The new documents and samples can be found at https://docs.microsoft.com/en-gb/azure/log-analytics/log-analytics-log-search-new and https://docs.loganalytics.io/