Azure Monitor pu collezionare log dai sistemi pi disparati e, oltre a consentire la realizzazione di utilissime dashboard, permette di impostare un sistema di alerting in grado di intervenire proattivamente sulla propria infrastruttura.
Vediamo insieme come funziona il sistema, e cosa in grado di fare!
By Marco Obinu
1 of 32
More Related Content
CCI2019 - Reagire agli eventi generati dalla propria infrastruttura con Azure Monitor
4. WHO AM I?
Marco Obinu
Advisory Engineer
SoftJam S.p.A.
@OmegaMadLab
marco.obinu@omegamadlab.com
http://www.omegamadlab.com
https://github.com/OmegaMadLab
https://www.linkedin.com/in/marco-obinu-omegamadlab/
https://www.youtube.com/channel/UCpkBeQSscC1iBvpNP4VNTKQ
? Geek to the bone ?
? Azure Solution Architect Expert
5. AGENDA
? La gestione degli eventi e log in Azure
? Azure Monitor
? Serverless automation
21. KUSTO QUERY LANGUAGE CHEAT SHEET
Description SQL Query Azure Monitor log query
Select all data from a table SELECT * FROM dependencies dependencies
Select specific columns from a table SELECT name, resultCode FROM
dependencies
dependencies
| project name, resultCode
Select 100 records from a table SELECT TOP 100 * FROM dependencies dependencies
| take 100
String comparison: equality SELECT * FROM dependencies WHERE
name = "abcde"
dependencies
| where name == "abcde"
String comparison: substring SELECT * FROM dependencies WHERE
name like "%bcd%"
dependencies
| where name contains "bcd"
SQL ? https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/sql-cheatsheet
Splunk ? https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/splunk-cheatsheet
30. MONITORAGGIO COSTI
? Usage and estimated costs:
? A livello di Azure Monitor
? A livello di Workspace ? Retention, Daily Cap
? A livello di AppInsight ?Retention, Data Sampling, Daily Cap
31. RISORSE UTILI
? Demo: https://github.com/OmegaMadLab/AzureMonitorDemo
? Documentazione ufficiale: https://docs.microsoft.com/en-us/azure/azure-monitor/
? RequestBin: https://requestbin.com/
? DevOps Heroes 2019 C Automazione serverless con Azure Function in PowerShell: https://youtu.be/0ZK1SQ6zkiU
? Template per Azure Policy: https://github.com/tyconsulting/azurepolicy/tree/master/arm-templates/diagnostic-
settings