630 likes | 921 Views
Azure Log Analytics: Deep dive into the Azure Kusto query language. Jean-François BERENGUER Microsoft Regional Director MVP Datacenter and Cloud Management. THR3115. @jfberenguer_pro. Azure Log Analytics. Kusto : Query language for Log Analytics. Advanced Analytics portal .
E N D
Azure Log Analytics: Deep dive into the Azure Kusto query language Jean-François BERENGUER Microsoft Regional Director MVP Datacenter and Cloud Management THR3115 @jfberenguer_pro
Kusto : Query language for Log Analytics Advanced Analytics portal Log Analytics page
Let’s start SecurityEvent |where EventID == 4625 |where TimeGenerated > ago(14d) |summarize count() by Account |order by count_ desc • The schema • Filter the result • Sort and group the result • Select columns to display • Select a time range • Charts • Pin to dashboard • Save query Perf | whereObjectName == "Processor" | whereCounterName == "% Processor Time" | summarizeavg(CounterValue) by Computer, TimeGenerated | rendertimechart
And Now .. SecurityEvent | where EventID == 4624 | project Computer, Account, TargetLogonId, LogonTime=TimeGenerated | join kind= inner ( SecurityEvent | where EventID == 4634 | project TargetLogonId, LogoffTime=TimeGenerated ) on TargetLogonId | extend Duration = LogoffTime-LogonTime | project-away TargetLogonId1 | top 10 by Duration desc • Calculated query time columns • Make a set • Let: reusing code • Functions • Joins - Cross Analysis • Some smart Analytics
Demo a journey of a thousand miles begins with a single step
Visualization and alerts Alert on data View Designer
Please evaluate this sessionYour feedback is important to us! Please evaluate this session through MyEvaluations on the mobile appor website. Download the app:https://aka.ms/ignite.mobileApp Go to the website: https://myignite.techcommunity.microsoft.com/evaluations