Kueri untuk tabel KubeEvents
Untuk informasi tentang menggunakan kueri ini di portal Azure, lihat tutorial Analitik Log. Untuk REST API, lihat Kueri.
Peristiwa Kubernetes
Mencantumkan semua peristiwa Kubernetes.
KubeEvents
| where TimeGenerated > ago(7d)
| where not(isempty(Namespace))
| top 200 by TimeGenerated desc
Temukan Di KubeEvents
Temukan di KubeEvents untuk mencari nilai tertentu dalam tabel KubeEvents./nNote bahwa kueri ini memerlukan pembaruan <parameter SeachValue> untuk menghasilkan hasil
// This query requires a parameter to run. Enter value in SearchValue to find in table.
let SearchValue = "<SearchValue>";//Please update term you would like to find in the table.
KubeEvents
| where * contains tostring(SearchValue)
| take 1000