adx.json 281 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322
  1. {
  2. "__requires": [
  3. {
  4. "type": "grafana",
  5. "id": "grafana",
  6. "name": "Grafana",
  7. "version": "7.4.3"
  8. },
  9. {
  10. "type": "datasource",
  11. "id": "grafana-azure-monitor-datasource",
  12. "name": "Azure Monitor",
  13. "version": "0.3.0"
  14. },
  15. {
  16. "type": "panel",
  17. "id": "graph",
  18. "name": "Graph",
  19. "version": ""
  20. },
  21. {
  22. "type": "panel",
  23. "id": "stat",
  24. "name": "Stat",
  25. "version": ""
  26. },
  27. {
  28. "type": "panel",
  29. "id": "table",
  30. "name": "Table",
  31. "version": ""
  32. }
  33. ],
  34. "editable": true,
  35. "gnetId": null,
  36. "graphTooltip": 0,
  37. "id": null,
  38. "iteration": 1622241391232,
  39. "links": [],
  40. "panels": [
  41. {
  42. "collapsed": false,
  43. "datasource": "$ds",
  44. "gridPos": {
  45. "h": 1,
  46. "w": 24,
  47. "x": 0,
  48. "y": 0
  49. },
  50. "id": 6,
  51. "panels": [],
  52. "title": "Overview",
  53. "type": "row"
  54. },
  55. {
  56. "datasource": "$ds",
  57. "fieldConfig": {
  58. "defaults": {
  59. "color": {
  60. "mode": "thresholds"
  61. },
  62. "custom": {},
  63. "mappings": [],
  64. "thresholds": {
  65. "mode": "absolute",
  66. "steps": [
  67. {
  68. "color": "green",
  69. "value": null
  70. },
  71. {
  72. "color": "red",
  73. "value": 80
  74. }
  75. ]
  76. }
  77. },
  78. "overrides": []
  79. },
  80. "gridPos": {
  81. "h": 5,
  82. "w": 3,
  83. "x": 0,
  84. "y": 1
  85. },
  86. "id": 4,
  87. "options": {
  88. "colorMode": "value",
  89. "graphMode": "area",
  90. "justifyMode": "auto",
  91. "orientation": "auto",
  92. "reduceOptions": {
  93. "calcs": ["lastNotNull"],
  94. "fields": "",
  95. "values": false
  96. },
  97. "text": {},
  98. "textMode": "auto"
  99. },
  100. "pluginVersion": "7.4.3",
  101. "targets": [
  102. {
  103. "appInsights": {
  104. "dimension": [],
  105. "metricName": "select",
  106. "timeGrain": "auto"
  107. },
  108. "azureLogAnalytics": {
  109. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  110. "resultFormat": "time_series",
  111. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  112. },
  113. "azureMonitor": {
  114. "aggOptions": ["Average"],
  115. "aggregation": "Average",
  116. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  117. "dimensionFilter": "*",
  118. "dimensionFilters": [],
  119. "dimensions": [],
  120. "metricDefinition": "$ns",
  121. "metricName": "KeepAlive",
  122. "metricNamespace": "Microsoft.Kusto/clusters",
  123. "resourceGroup": "$rg",
  124. "resourceName": "$resource",
  125. "timeGrain": "auto",
  126. "timeGrains": [
  127. {
  128. "text": "auto",
  129. "value": "auto"
  130. },
  131. {
  132. "text": "1 minute",
  133. "value": "PT1M"
  134. },
  135. {
  136. "text": "5 minutes",
  137. "value": "PT5M"
  138. },
  139. {
  140. "text": "15 minutes",
  141. "value": "PT15M"
  142. },
  143. {
  144. "text": "30 minutes",
  145. "value": "PT30M"
  146. },
  147. {
  148. "text": "1 hour",
  149. "value": "PT1H"
  150. },
  151. {
  152. "text": "6 hours",
  153. "value": "PT6H"
  154. },
  155. {
  156. "text": "12 hours",
  157. "value": "PT12H"
  158. },
  159. {
  160. "text": "1 day",
  161. "value": "P1D"
  162. }
  163. ],
  164. "top": "10"
  165. },
  166. "insightsAnalytics": {
  167. "query": "",
  168. "resultFormat": "time_series"
  169. },
  170. "queryType": "Azure Monitor",
  171. "refId": "A",
  172. "subscription": "$sub"
  173. }
  174. ],
  175. "timeFrom": null,
  176. "timeShift": null,
  177. "title": "Keep Alive (Avg)",
  178. "type": "stat"
  179. },
  180. {
  181. "datasource": "$ds",
  182. "fieldConfig": {
  183. "defaults": {
  184. "color": {
  185. "mode": "thresholds"
  186. },
  187. "custom": {},
  188. "mappings": [],
  189. "thresholds": {
  190. "mode": "absolute",
  191. "steps": [
  192. {
  193. "color": "green",
  194. "value": null
  195. },
  196. {
  197. "color": "red",
  198. "value": 80
  199. }
  200. ]
  201. }
  202. },
  203. "overrides": []
  204. },
  205. "gridPos": {
  206. "h": 5,
  207. "w": 3,
  208. "x": 3,
  209. "y": 1
  210. },
  211. "id": 12,
  212. "options": {
  213. "colorMode": "value",
  214. "graphMode": "area",
  215. "justifyMode": "auto",
  216. "orientation": "auto",
  217. "reduceOptions": {
  218. "calcs": ["lastNotNull"],
  219. "fields": "",
  220. "values": false
  221. },
  222. "text": {},
  223. "textMode": "auto"
  224. },
  225. "pluginVersion": "7.4.3",
  226. "targets": [
  227. {
  228. "appInsights": {
  229. "dimension": [],
  230. "metricName": "select",
  231. "timeGrain": "auto"
  232. },
  233. "azureLogAnalytics": {
  234. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  235. "resultFormat": "time_series",
  236. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  237. },
  238. "azureMonitor": {
  239. "aggOptions": ["Average", "Maximum", "Minimum"],
  240. "aggregation": "Average",
  241. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  242. "dimensionFilter": "*",
  243. "dimensionFilters": [],
  244. "dimensions": [],
  245. "metricDefinition": "$ns",
  246. "metricName": "CPU",
  247. "metricNamespace": "Microsoft.Kusto/clusters",
  248. "resourceGroup": "$rg",
  249. "resourceName": "$resource",
  250. "timeGrain": "auto",
  251. "timeGrains": [
  252. {
  253. "text": "auto",
  254. "value": "auto"
  255. },
  256. {
  257. "text": "1 minute",
  258. "value": "PT1M"
  259. },
  260. {
  261. "text": "5 minutes",
  262. "value": "PT5M"
  263. },
  264. {
  265. "text": "15 minutes",
  266. "value": "PT15M"
  267. },
  268. {
  269. "text": "30 minutes",
  270. "value": "PT30M"
  271. },
  272. {
  273. "text": "1 hour",
  274. "value": "PT1H"
  275. },
  276. {
  277. "text": "6 hours",
  278. "value": "PT6H"
  279. },
  280. {
  281. "text": "12 hours",
  282. "value": "PT12H"
  283. },
  284. {
  285. "text": "1 day",
  286. "value": "P1D"
  287. }
  288. ],
  289. "top": "10"
  290. },
  291. "insightsAnalytics": {
  292. "query": "",
  293. "resultFormat": "time_series"
  294. },
  295. "queryType": "Azure Monitor",
  296. "refId": "A",
  297. "subscription": "$sub"
  298. }
  299. ],
  300. "timeFrom": null,
  301. "timeShift": null,
  302. "title": "CPU (Avg)",
  303. "type": "stat"
  304. },
  305. {
  306. "datasource": "$ds",
  307. "fieldConfig": {
  308. "defaults": {
  309. "color": {
  310. "mode": "thresholds"
  311. },
  312. "custom": {},
  313. "mappings": [],
  314. "thresholds": {
  315. "mode": "absolute",
  316. "steps": [
  317. {
  318. "color": "green",
  319. "value": null
  320. },
  321. {
  322. "color": "red",
  323. "value": 80
  324. }
  325. ]
  326. }
  327. },
  328. "overrides": []
  329. },
  330. "gridPos": {
  331. "h": 5,
  332. "w": 3,
  333. "x": 6,
  334. "y": 1
  335. },
  336. "id": 13,
  337. "options": {
  338. "colorMode": "value",
  339. "graphMode": "area",
  340. "justifyMode": "auto",
  341. "orientation": "auto",
  342. "reduceOptions": {
  343. "calcs": ["lastNotNull"],
  344. "fields": "",
  345. "values": false
  346. },
  347. "text": {},
  348. "textMode": "auto"
  349. },
  350. "pluginVersion": "7.4.3",
  351. "targets": [
  352. {
  353. "appInsights": {
  354. "dimension": [],
  355. "metricName": "select",
  356. "timeGrain": "auto"
  357. },
  358. "azureLogAnalytics": {
  359. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  360. "resultFormat": "time_series",
  361. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  362. },
  363. "azureMonitor": {
  364. "aggOptions": ["Average", "Maximum", "Minimum"],
  365. "aggregation": "Average",
  366. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  367. "dimensionFilter": "*",
  368. "dimensionFilters": [],
  369. "dimensions": [],
  370. "metricDefinition": "$ns",
  371. "metricName": "IngestionUtilization",
  372. "metricNamespace": "Microsoft.Kusto/clusters",
  373. "resourceGroup": "$rg",
  374. "resourceName": "$resource",
  375. "timeGrain": "auto",
  376. "timeGrains": [
  377. {
  378. "text": "auto",
  379. "value": "auto"
  380. },
  381. {
  382. "text": "1 minute",
  383. "value": "PT1M"
  384. },
  385. {
  386. "text": "5 minutes",
  387. "value": "PT5M"
  388. },
  389. {
  390. "text": "15 minutes",
  391. "value": "PT15M"
  392. },
  393. {
  394. "text": "30 minutes",
  395. "value": "PT30M"
  396. },
  397. {
  398. "text": "1 hour",
  399. "value": "PT1H"
  400. },
  401. {
  402. "text": "6 hours",
  403. "value": "PT6H"
  404. },
  405. {
  406. "text": "12 hours",
  407. "value": "PT12H"
  408. },
  409. {
  410. "text": "1 day",
  411. "value": "P1D"
  412. }
  413. ],
  414. "top": "10"
  415. },
  416. "insightsAnalytics": {
  417. "query": "",
  418. "resultFormat": "time_series"
  419. },
  420. "queryType": "Azure Monitor",
  421. "refId": "A",
  422. "subscription": "$sub"
  423. }
  424. ],
  425. "timeFrom": null,
  426. "timeShift": null,
  427. "title": "Ingestion Utilization (Avg) ",
  428. "type": "stat"
  429. },
  430. {
  431. "datasource": "$ds",
  432. "fieldConfig": {
  433. "defaults": {
  434. "color": {
  435. "mode": "thresholds"
  436. },
  437. "custom": {},
  438. "mappings": [],
  439. "thresholds": {
  440. "mode": "absolute",
  441. "steps": [
  442. {
  443. "color": "green",
  444. "value": null
  445. },
  446. {
  447. "color": "red",
  448. "value": 80
  449. }
  450. ]
  451. }
  452. },
  453. "overrides": []
  454. },
  455. "gridPos": {
  456. "h": 5,
  457. "w": 3,
  458. "x": 9,
  459. "y": 1
  460. },
  461. "id": 14,
  462. "options": {
  463. "colorMode": "value",
  464. "graphMode": "area",
  465. "justifyMode": "auto",
  466. "orientation": "auto",
  467. "reduceOptions": {
  468. "calcs": ["lastNotNull"],
  469. "fields": "",
  470. "values": false
  471. },
  472. "text": {},
  473. "textMode": "auto"
  474. },
  475. "pluginVersion": "7.4.3",
  476. "targets": [
  477. {
  478. "appInsights": {
  479. "dimension": [],
  480. "metricName": "select",
  481. "timeGrain": "auto"
  482. },
  483. "azureLogAnalytics": {
  484. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  485. "resultFormat": "time_series",
  486. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  487. },
  488. "azureMonitor": {
  489. "aggOptions": ["Average", "Maximum", "Minimum"],
  490. "aggregation": "Average",
  491. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  492. "dimensionFilter": "*",
  493. "dimensionFilters": [],
  494. "dimensions": [],
  495. "metricDefinition": "$ns",
  496. "metricName": "IngestionLatencyInSeconds",
  497. "metricNamespace": "Microsoft.Kusto/clusters",
  498. "resourceGroup": "$rg",
  499. "resourceName": "$resource",
  500. "timeGrain": "auto",
  501. "timeGrains": [
  502. {
  503. "text": "auto",
  504. "value": "auto"
  505. },
  506. {
  507. "text": "1 minute",
  508. "value": "PT1M"
  509. },
  510. {
  511. "text": "5 minutes",
  512. "value": "PT5M"
  513. },
  514. {
  515. "text": "15 minutes",
  516. "value": "PT15M"
  517. },
  518. {
  519. "text": "30 minutes",
  520. "value": "PT30M"
  521. },
  522. {
  523. "text": "1 hour",
  524. "value": "PT1H"
  525. },
  526. {
  527. "text": "6 hours",
  528. "value": "PT6H"
  529. },
  530. {
  531. "text": "12 hours",
  532. "value": "PT12H"
  533. },
  534. {
  535. "text": "1 day",
  536. "value": "P1D"
  537. }
  538. ],
  539. "top": "10"
  540. },
  541. "insightsAnalytics": {
  542. "query": "",
  543. "resultFormat": "time_series"
  544. },
  545. "queryType": "Azure Monitor",
  546. "refId": "A",
  547. "subscription": "$sub"
  548. }
  549. ],
  550. "timeFrom": null,
  551. "timeShift": null,
  552. "title": "Ingestion Latency (Avg) ",
  553. "type": "stat"
  554. },
  555. {
  556. "datasource": "$ds",
  557. "fieldConfig": {
  558. "defaults": {
  559. "color": {
  560. "mode": "thresholds"
  561. },
  562. "custom": {},
  563. "mappings": [],
  564. "thresholds": {
  565. "mode": "absolute",
  566. "steps": [
  567. {
  568. "color": "green",
  569. "value": null
  570. },
  571. {
  572. "color": "red",
  573. "value": 80
  574. }
  575. ]
  576. }
  577. },
  578. "overrides": []
  579. },
  580. "gridPos": {
  581. "h": 5,
  582. "w": 3,
  583. "x": 12,
  584. "y": 1
  585. },
  586. "id": 15,
  587. "options": {
  588. "colorMode": "value",
  589. "graphMode": "area",
  590. "justifyMode": "auto",
  591. "orientation": "auto",
  592. "reduceOptions": {
  593. "calcs": ["lastNotNull"],
  594. "fields": "",
  595. "values": false
  596. },
  597. "text": {},
  598. "textMode": "auto"
  599. },
  600. "pluginVersion": "7.4.3",
  601. "targets": [
  602. {
  603. "appInsights": {
  604. "dimension": [],
  605. "metricName": "select",
  606. "timeGrain": "auto"
  607. },
  608. "azureLogAnalytics": {
  609. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  610. "resultFormat": "time_series",
  611. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  612. },
  613. "azureMonitor": {
  614. "aggOptions": ["Average", "Maximum", "Minimum"],
  615. "aggregation": "Average",
  616. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  617. "dimensionFilter": "*",
  618. "dimensionFilters": [],
  619. "dimensions": [],
  620. "metricDefinition": "$ns",
  621. "metricName": "CacheUtilization",
  622. "metricNamespace": "Microsoft.Kusto/clusters",
  623. "resourceGroup": "$rg",
  624. "resourceName": "$resource",
  625. "timeGrain": "auto",
  626. "timeGrains": [
  627. {
  628. "text": "auto",
  629. "value": "auto"
  630. },
  631. {
  632. "text": "1 minute",
  633. "value": "PT1M"
  634. },
  635. {
  636. "text": "5 minutes",
  637. "value": "PT5M"
  638. },
  639. {
  640. "text": "15 minutes",
  641. "value": "PT15M"
  642. },
  643. {
  644. "text": "30 minutes",
  645. "value": "PT30M"
  646. },
  647. {
  648. "text": "1 hour",
  649. "value": "PT1H"
  650. },
  651. {
  652. "text": "6 hours",
  653. "value": "PT6H"
  654. },
  655. {
  656. "text": "12 hours",
  657. "value": "PT12H"
  658. },
  659. {
  660. "text": "1 day",
  661. "value": "P1D"
  662. }
  663. ],
  664. "top": "10"
  665. },
  666. "insightsAnalytics": {
  667. "query": "",
  668. "resultFormat": "time_series"
  669. },
  670. "queryType": "Azure Monitor",
  671. "refId": "A",
  672. "subscription": "$sub"
  673. }
  674. ],
  675. "timeFrom": null,
  676. "timeShift": null,
  677. "title": "Cache Utilization (Avg)",
  678. "type": "stat"
  679. },
  680. {
  681. "datasource": "$ds",
  682. "fieldConfig": {
  683. "defaults": {
  684. "color": {
  685. "mode": "thresholds"
  686. },
  687. "custom": {},
  688. "mappings": [],
  689. "thresholds": {
  690. "mode": "absolute",
  691. "steps": [
  692. {
  693. "color": "green",
  694. "value": null
  695. },
  696. {
  697. "color": "red",
  698. "value": 80
  699. }
  700. ]
  701. }
  702. },
  703. "overrides": []
  704. },
  705. "gridPos": {
  706. "h": 5,
  707. "w": 3,
  708. "x": 15,
  709. "y": 1
  710. },
  711. "id": 16,
  712. "options": {
  713. "colorMode": "value",
  714. "graphMode": "area",
  715. "justifyMode": "auto",
  716. "orientation": "auto",
  717. "reduceOptions": {
  718. "calcs": ["lastNotNull"],
  719. "fields": "",
  720. "values": false
  721. },
  722. "text": {},
  723. "textMode": "auto"
  724. },
  725. "pluginVersion": "7.4.3",
  726. "targets": [
  727. {
  728. "appInsights": {
  729. "dimension": [],
  730. "metricName": "select",
  731. "timeGrain": "auto"
  732. },
  733. "azureLogAnalytics": {
  734. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  735. "resultFormat": "time_series",
  736. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  737. },
  738. "azureMonitor": {
  739. "aggOptions": ["Total"],
  740. "aggregation": "Total",
  741. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  742. "dimensionFilter": "*",
  743. "dimensionFilters": [],
  744. "dimensions": [
  745. {
  746. "text": "Status",
  747. "value": "IngestionResultDetails"
  748. }
  749. ],
  750. "metricDefinition": "$ns",
  751. "metricName": "IngestionResult",
  752. "metricNamespace": "Microsoft.Kusto/clusters",
  753. "resourceGroup": "$rg",
  754. "resourceName": "$resource",
  755. "timeGrain": "auto",
  756. "timeGrains": [
  757. {
  758. "text": "auto",
  759. "value": "auto"
  760. },
  761. {
  762. "text": "1 minute",
  763. "value": "PT1M"
  764. },
  765. {
  766. "text": "5 minutes",
  767. "value": "PT5M"
  768. },
  769. {
  770. "text": "15 minutes",
  771. "value": "PT15M"
  772. },
  773. {
  774. "text": "30 minutes",
  775. "value": "PT30M"
  776. },
  777. {
  778. "text": "1 hour",
  779. "value": "PT1H"
  780. },
  781. {
  782. "text": "6 hours",
  783. "value": "PT6H"
  784. },
  785. {
  786. "text": "12 hours",
  787. "value": "PT12H"
  788. },
  789. {
  790. "text": "1 day",
  791. "value": "P1D"
  792. }
  793. ],
  794. "top": "10"
  795. },
  796. "insightsAnalytics": {
  797. "query": "",
  798. "resultFormat": "time_series"
  799. },
  800. "queryType": "Azure Monitor",
  801. "refId": "A",
  802. "subscription": "$sub"
  803. }
  804. ],
  805. "timeFrom": null,
  806. "timeShift": null,
  807. "title": "Succeeded Ingestions (#)",
  808. "type": "stat"
  809. },
  810. {
  811. "datasource": "$ds",
  812. "description": "The aggregated usage in the cluster, out of the total used CPU and memory. To see more details, go to the Usage tab.",
  813. "fieldConfig": {
  814. "defaults": {
  815. "color": {
  816. "mode": "thresholds"
  817. },
  818. "custom": {
  819. "align": null,
  820. "filterable": false
  821. },
  822. "mappings": [],
  823. "thresholds": {
  824. "mode": "absolute",
  825. "steps": []
  826. }
  827. },
  828. "overrides": []
  829. },
  830. "gridPos": {
  831. "h": 9,
  832. "w": 12,
  833. "x": 0,
  834. "y": 6
  835. },
  836. "id": 17,
  837. "options": {
  838. "showHeader": true
  839. },
  840. "pluginVersion": "7.4.3",
  841. "targets": [
  842. {
  843. "appInsights": {
  844. "dimension": [],
  845. "metricName": "select",
  846. "timeGrain": "auto"
  847. },
  848. "azureLogAnalytics": {
  849. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is KustoRunner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand \r\n | where TimeGenerated > datetime(2020-09-09T09:30:00Z) \r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak) \r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State, FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest'\r\n //| where totimespan(TotalCPU) > totimespan(0)\r\n | summarize TotalCPU=max(TotalCPU) \r\n , MemoryPeak=max(MemoryPeak)\r\n by User, ApplicationName, CorrelationId \r\n;\r\nlet totalCPU = toscalar(dataset\r\n | summarize sum((totimespan(TotalCPU) / 1s)));\r\nlet totalMemory = toscalar(dataset\r\n | summarize sum(MemoryPeak));\r\nlet topMemory = \r\n dataset\r\n | top-nested 10000 of User with others=\"Others\" by sum(MemoryPeak), top-nested 10000 of ApplicationName with others=\"Others\" by sum(MemoryPeak)\r\n | extend PercentOfTotalClusterMemoryUsed = aggregated_ApplicationName / toreal(totalMemory)\r\n;\r\nlet topCpu = \r\n dataset\r\n | top-nested 10000 of User with others=\"Others\" by sum(totimespan(TotalCPU) / 1s), top-nested 10000 of ApplicationName with others=\"Others\" by sum(totimespan(TotalCPU) / 1s)\r\n | extend PercentOfTotalClusterCpuUsed = aggregated_ApplicationName / toreal(totalCPU)\r\n;\r\ntopMemory\r\n| join kind = fullouter(topCpu) on User, ApplicationName\r\n| extend BothPercentages = PercentOfTotalClusterMemoryUsed + PercentOfTotalClusterCpuUsed\r\n| top 10 by BothPercentages desc\r\n| extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n ApplicationName == \"KustoQueryRunner\", strcat(\"Kusto Query Runner \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters \r\n User)\r\n| extend PercentOfTotalClusterMemoryUsed_display = iff(isnan(PercentOfTotalClusterMemoryUsed * 100), toreal(0), PercentOfTotalClusterMemoryUsed * 100)\r\n| extend PercentOfTotalClusterCpuUsed_display = iff(isnan(PercentOfTotalClusterCpuUsed * 100), toreal(0), PercentOfTotalClusterCpuUsed * 100)\r\n| where not (ApplicationName == \"Others\" and PercentOfTotalClusterMemoryUsed_display == 0 and PercentOfTotalClusterCpuUsed_display == 0)\r\n| project User, ApplicationName, PercentOfTotalClusterMemoryUsed_display, PercentOfTotalClusterCpuUsed_display",
  850. "resultFormat": "time_series",
  851. "workspace": "$ws"
  852. },
  853. "azureMonitor": {
  854. "aggOptions": [],
  855. "dimensionFilter": "*",
  856. "dimensionFilters": [],
  857. "metricDefinition": "select",
  858. "metricName": "select",
  859. "metricNamespace": "select",
  860. "resourceGroup": "select",
  861. "resourceName": "select",
  862. "timeGrain": "auto",
  863. "timeGrains": [],
  864. "top": "10"
  865. },
  866. "insightsAnalytics": {
  867. "query": "",
  868. "resultFormat": "time_series"
  869. },
  870. "queryType": "Azure Log Analytics",
  871. "refId": "A",
  872. "subscription": "$sub"
  873. }
  874. ],
  875. "timeFrom": null,
  876. "timeShift": null,
  877. "title": "Top resource consumers",
  878. "transparent": true,
  879. "type": "table"
  880. },
  881. {
  882. "aliasColors": {},
  883. "bars": false,
  884. "dashLength": 10,
  885. "dashes": false,
  886. "datasource": "$ds",
  887. "description": "Over a sliding timeline window. Not affected by the time range parameter",
  888. "fieldConfig": {
  889. "defaults": {
  890. "color": {},
  891. "custom": {},
  892. "thresholds": {
  893. "mode": "absolute",
  894. "steps": []
  895. }
  896. },
  897. "overrides": []
  898. },
  899. "fill": 1,
  900. "fillGradient": 0,
  901. "gridPos": {
  902. "h": 9,
  903. "w": 12,
  904. "x": 12,
  905. "y": 6
  906. },
  907. "hiddenSeries": false,
  908. "id": 2,
  909. "legend": {
  910. "avg": true,
  911. "current": false,
  912. "max": false,
  913. "min": false,
  914. "show": true,
  915. "total": false,
  916. "values": true
  917. },
  918. "lines": true,
  919. "linewidth": 3,
  920. "nullPointMode": "null",
  921. "options": {
  922. "alertThreshold": true
  923. },
  924. "percentage": false,
  925. "pluginVersion": "7.4.3",
  926. "pointradius": 2,
  927. "points": false,
  928. "renderer": "flot",
  929. "seriesOverrides": [],
  930. "spaceLength": 10,
  931. "stack": false,
  932. "steppedLine": false,
  933. "targets": [
  934. {
  935. "appInsights": {
  936. "dimension": [],
  937. "metricName": "select",
  938. "timeGrain": "auto"
  939. },
  940. "azureLogAnalytics": {
  941. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak) \r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ApplicationName != 'Kusto.WinSvc.DM.Svc'\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ApplicationName != 'Kusto.WinSvc.DM.Svc'\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User,\r\n ApplicationName,\r\n Principal,\r\n TotalCPU,\r\n MemoryPeak,\r\n CorrelationId,\r\n cluster_name;\r\nlet raw = dataset_commands_queries\r\n | where LastUpdatedOn > ago(7d)\r\n | where cluster_name == 'mitulktest'\r\n | where StartedOn > ago(365d)\r\n;\r\nraw\r\n| evaluate activity_engagement(User, StartedOn, 1d, 7d)\r\n| join kind = inner (\r\n raw\r\n | evaluate activity_engagement(User, StartedOn, 1d, 30d)\r\n )\r\n on StartedOn\r\n| project StartedOn, Daily=dcount_activities_inner, Weekly=dcount_activities_outer, Monthly = dcount_activities_outer1 \r\n| where StartedOn > ago(90d)\r\n| project Daily, StartedOn, Weekly, Monthly\r\n| sort by StartedOn asc\r\n",
  942. "resultFormat": "time_series",
  943. "workspace": "$ws"
  944. },
  945. "azureMonitor": {
  946. "aggOptions": [],
  947. "dimensionFilter": "*",
  948. "dimensionFilters": [],
  949. "metricDefinition": "select",
  950. "metricName": "select",
  951. "metricNamespace": "select",
  952. "resourceGroup": "select",
  953. "resourceName": "select",
  954. "timeGrain": "auto",
  955. "timeGrains": [],
  956. "top": "10"
  957. },
  958. "insightsAnalytics": {
  959. "query": "",
  960. "resultFormat": "time_series"
  961. },
  962. "queryType": "Azure Log Analytics",
  963. "refId": "A",
  964. "subscription": "$sub"
  965. }
  966. ],
  967. "thresholds": [],
  968. "timeFrom": null,
  969. "timeRegions": [],
  970. "timeShift": null,
  971. "title": "Unique user count",
  972. "tooltip": {
  973. "shared": true,
  974. "sort": 0,
  975. "value_type": "individual"
  976. },
  977. "type": "graph",
  978. "xaxis": {
  979. "buckets": null,
  980. "mode": "time",
  981. "name": null,
  982. "show": true,
  983. "values": []
  984. },
  985. "yaxes": [
  986. {
  987. "format": "short",
  988. "label": null,
  989. "logBase": 1,
  990. "max": null,
  991. "min": null,
  992. "show": true
  993. },
  994. {
  995. "format": "short",
  996. "label": null,
  997. "logBase": 1,
  998. "max": null,
  999. "min": null,
  1000. "show": true
  1001. }
  1002. ],
  1003. "yaxis": {
  1004. "align": false,
  1005. "alignLevel": null
  1006. }
  1007. },
  1008. {
  1009. "collapsed": false,
  1010. "datasource": "$ds",
  1011. "gridPos": {
  1012. "h": 1,
  1013. "w": 24,
  1014. "x": 0,
  1015. "y": 15
  1016. },
  1017. "id": 19,
  1018. "panels": [],
  1019. "title": "Key Metrics",
  1020. "type": "row"
  1021. },
  1022. {
  1023. "aliasColors": {},
  1024. "bars": false,
  1025. "dashLength": 10,
  1026. "dashes": false,
  1027. "datasource": "$ds",
  1028. "fieldConfig": {
  1029. "defaults": {
  1030. "color": {},
  1031. "custom": {},
  1032. "thresholds": {
  1033. "mode": "absolute",
  1034. "steps": []
  1035. }
  1036. },
  1037. "overrides": []
  1038. },
  1039. "fill": 1,
  1040. "fillGradient": 0,
  1041. "gridPos": {
  1042. "h": 10,
  1043. "w": 6,
  1044. "x": 0,
  1045. "y": 16
  1046. },
  1047. "hiddenSeries": false,
  1048. "id": 20,
  1049. "legend": {
  1050. "avg": true,
  1051. "current": false,
  1052. "max": false,
  1053. "min": false,
  1054. "show": true,
  1055. "total": false,
  1056. "values": true
  1057. },
  1058. "lines": true,
  1059. "linewidth": 1,
  1060. "nullPointMode": "null",
  1061. "options": {
  1062. "alertThreshold": true
  1063. },
  1064. "percentage": false,
  1065. "pluginVersion": "7.4.3",
  1066. "pointradius": 2,
  1067. "points": false,
  1068. "renderer": "flot",
  1069. "seriesOverrides": [],
  1070. "spaceLength": 10,
  1071. "stack": false,
  1072. "steppedLine": false,
  1073. "targets": [
  1074. {
  1075. "appInsights": {
  1076. "dimension": [],
  1077. "metricName": "select",
  1078. "timeGrain": "auto"
  1079. },
  1080. "azureLogAnalytics": {
  1081. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  1082. "resultFormat": "time_series",
  1083. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  1084. },
  1085. "azureMonitor": {
  1086. "aggOptions": ["Average"],
  1087. "aggregation": "Average",
  1088. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1089. "dimensionFilter": "*",
  1090. "dimensionFilters": [],
  1091. "dimensions": [],
  1092. "metricDefinition": "$ns",
  1093. "metricName": "KeepAlive",
  1094. "metricNamespace": "Microsoft.Kusto/clusters",
  1095. "resourceGroup": "$rg",
  1096. "resourceName": "$resource",
  1097. "timeGrain": "auto",
  1098. "timeGrains": [
  1099. {
  1100. "text": "auto",
  1101. "value": "auto"
  1102. },
  1103. {
  1104. "text": "1 minute",
  1105. "value": "PT1M"
  1106. },
  1107. {
  1108. "text": "5 minutes",
  1109. "value": "PT5M"
  1110. },
  1111. {
  1112. "text": "15 minutes",
  1113. "value": "PT15M"
  1114. },
  1115. {
  1116. "text": "30 minutes",
  1117. "value": "PT30M"
  1118. },
  1119. {
  1120. "text": "1 hour",
  1121. "value": "PT1H"
  1122. },
  1123. {
  1124. "text": "6 hours",
  1125. "value": "PT6H"
  1126. },
  1127. {
  1128. "text": "12 hours",
  1129. "value": "PT12H"
  1130. },
  1131. {
  1132. "text": "1 day",
  1133. "value": "P1D"
  1134. }
  1135. ],
  1136. "top": "10"
  1137. },
  1138. "insightsAnalytics": {
  1139. "query": "",
  1140. "resultFormat": "time_series"
  1141. },
  1142. "queryType": "Azure Monitor",
  1143. "refId": "A",
  1144. "subscription": "$sub"
  1145. }
  1146. ],
  1147. "thresholds": [],
  1148. "timeFrom": null,
  1149. "timeRegions": [],
  1150. "timeShift": null,
  1151. "title": "Keep Alive",
  1152. "tooltip": {
  1153. "shared": true,
  1154. "sort": 0,
  1155. "value_type": "individual"
  1156. },
  1157. "type": "graph",
  1158. "xaxis": {
  1159. "buckets": null,
  1160. "mode": "time",
  1161. "name": null,
  1162. "show": true,
  1163. "values": []
  1164. },
  1165. "yaxes": [
  1166. {
  1167. "format": "short",
  1168. "label": null,
  1169. "logBase": 1,
  1170. "max": null,
  1171. "min": null,
  1172. "show": true
  1173. },
  1174. {
  1175. "format": "short",
  1176. "label": null,
  1177. "logBase": 1,
  1178. "max": null,
  1179. "min": null,
  1180. "show": true
  1181. }
  1182. ],
  1183. "yaxis": {
  1184. "align": false,
  1185. "alignLevel": null
  1186. }
  1187. },
  1188. {
  1189. "aliasColors": {},
  1190. "bars": false,
  1191. "dashLength": 10,
  1192. "dashes": false,
  1193. "datasource": "$ds",
  1194. "fieldConfig": {
  1195. "defaults": {
  1196. "color": {},
  1197. "custom": {},
  1198. "thresholds": {
  1199. "mode": "absolute",
  1200. "steps": []
  1201. }
  1202. },
  1203. "overrides": []
  1204. },
  1205. "fill": 1,
  1206. "fillGradient": 0,
  1207. "gridPos": {
  1208. "h": 10,
  1209. "w": 6,
  1210. "x": 6,
  1211. "y": 16
  1212. },
  1213. "hiddenSeries": false,
  1214. "id": 21,
  1215. "legend": {
  1216. "avg": true,
  1217. "current": false,
  1218. "max": false,
  1219. "min": false,
  1220. "show": true,
  1221. "total": false,
  1222. "values": true
  1223. },
  1224. "lines": true,
  1225. "linewidth": 1,
  1226. "nullPointMode": "null",
  1227. "options": {
  1228. "alertThreshold": true
  1229. },
  1230. "percentage": false,
  1231. "pluginVersion": "7.4.3",
  1232. "pointradius": 2,
  1233. "points": false,
  1234. "renderer": "flot",
  1235. "seriesOverrides": [],
  1236. "spaceLength": 10,
  1237. "stack": false,
  1238. "steppedLine": false,
  1239. "targets": [
  1240. {
  1241. "appInsights": {
  1242. "dimension": [],
  1243. "metricName": "select",
  1244. "timeGrain": "auto"
  1245. },
  1246. "azureLogAnalytics": {
  1247. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  1248. "resultFormat": "time_series",
  1249. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  1250. },
  1251. "azureMonitor": {
  1252. "aggOptions": ["Average", "Maximum", "Minimum"],
  1253. "aggregation": "Average",
  1254. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1255. "dimensionFilter": "*",
  1256. "dimensionFilters": [],
  1257. "dimensions": [],
  1258. "metricDefinition": "$ns",
  1259. "metricName": "CPU",
  1260. "metricNamespace": "Microsoft.Kusto/clusters",
  1261. "resourceGroup": "$rg",
  1262. "resourceName": "$resource",
  1263. "timeGrain": "auto",
  1264. "timeGrains": [
  1265. {
  1266. "text": "auto",
  1267. "value": "auto"
  1268. },
  1269. {
  1270. "text": "1 minute",
  1271. "value": "PT1M"
  1272. },
  1273. {
  1274. "text": "5 minutes",
  1275. "value": "PT5M"
  1276. },
  1277. {
  1278. "text": "15 minutes",
  1279. "value": "PT15M"
  1280. },
  1281. {
  1282. "text": "30 minutes",
  1283. "value": "PT30M"
  1284. },
  1285. {
  1286. "text": "1 hour",
  1287. "value": "PT1H"
  1288. },
  1289. {
  1290. "text": "6 hours",
  1291. "value": "PT6H"
  1292. },
  1293. {
  1294. "text": "12 hours",
  1295. "value": "PT12H"
  1296. },
  1297. {
  1298. "text": "1 day",
  1299. "value": "P1D"
  1300. }
  1301. ],
  1302. "top": "10"
  1303. },
  1304. "insightsAnalytics": {
  1305. "query": "",
  1306. "resultFormat": "time_series"
  1307. },
  1308. "queryType": "Azure Monitor",
  1309. "refId": "A",
  1310. "subscription": "$sub"
  1311. }
  1312. ],
  1313. "thresholds": [],
  1314. "timeFrom": null,
  1315. "timeRegions": [],
  1316. "timeShift": null,
  1317. "title": "CPU",
  1318. "tooltip": {
  1319. "shared": true,
  1320. "sort": 0,
  1321. "value_type": "individual"
  1322. },
  1323. "type": "graph",
  1324. "xaxis": {
  1325. "buckets": null,
  1326. "mode": "time",
  1327. "name": null,
  1328. "show": true,
  1329. "values": []
  1330. },
  1331. "yaxes": [
  1332. {
  1333. "format": "percent",
  1334. "label": null,
  1335. "logBase": 1,
  1336. "max": null,
  1337. "min": null,
  1338. "show": true
  1339. },
  1340. {
  1341. "format": "short",
  1342. "label": null,
  1343. "logBase": 1,
  1344. "max": null,
  1345. "min": null,
  1346. "show": true
  1347. }
  1348. ],
  1349. "yaxis": {
  1350. "align": false,
  1351. "alignLevel": null
  1352. }
  1353. },
  1354. {
  1355. "aliasColors": {},
  1356. "bars": false,
  1357. "dashLength": 10,
  1358. "dashes": false,
  1359. "datasource": "$ds",
  1360. "fieldConfig": {
  1361. "defaults": {
  1362. "color": {},
  1363. "custom": {},
  1364. "thresholds": {
  1365. "mode": "absolute",
  1366. "steps": []
  1367. }
  1368. },
  1369. "overrides": []
  1370. },
  1371. "fill": 1,
  1372. "fillGradient": 0,
  1373. "gridPos": {
  1374. "h": 10,
  1375. "w": 6,
  1376. "x": 12,
  1377. "y": 16
  1378. },
  1379. "hiddenSeries": false,
  1380. "id": 22,
  1381. "legend": {
  1382. "avg": true,
  1383. "current": false,
  1384. "max": false,
  1385. "min": false,
  1386. "show": true,
  1387. "total": false,
  1388. "values": true
  1389. },
  1390. "lines": true,
  1391. "linewidth": 1,
  1392. "nullPointMode": "null",
  1393. "options": {
  1394. "alertThreshold": true
  1395. },
  1396. "percentage": false,
  1397. "pluginVersion": "7.4.3",
  1398. "pointradius": 2,
  1399. "points": false,
  1400. "renderer": "flot",
  1401. "seriesOverrides": [],
  1402. "spaceLength": 10,
  1403. "stack": false,
  1404. "steppedLine": false,
  1405. "targets": [
  1406. {
  1407. "appInsights": {
  1408. "dimension": [],
  1409. "metricName": "select",
  1410. "timeGrain": "auto"
  1411. },
  1412. "azureLogAnalytics": {
  1413. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  1414. "resultFormat": "time_series",
  1415. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  1416. },
  1417. "azureMonitor": {
  1418. "aggOptions": ["Average", "Maximum", "Minimum"],
  1419. "aggregation": "Average",
  1420. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1421. "dimensionFilter": "*",
  1422. "dimensionFilters": [],
  1423. "dimensions": [],
  1424. "metricDefinition": "$ns",
  1425. "metricName": "CacheUtilization",
  1426. "metricNamespace": "Microsoft.Kusto/clusters",
  1427. "resourceGroup": "$rg",
  1428. "resourceName": "$resource",
  1429. "timeGrain": "auto",
  1430. "timeGrains": [
  1431. {
  1432. "text": "auto",
  1433. "value": "auto"
  1434. },
  1435. {
  1436. "text": "1 minute",
  1437. "value": "PT1M"
  1438. },
  1439. {
  1440. "text": "5 minutes",
  1441. "value": "PT5M"
  1442. },
  1443. {
  1444. "text": "15 minutes",
  1445. "value": "PT15M"
  1446. },
  1447. {
  1448. "text": "30 minutes",
  1449. "value": "PT30M"
  1450. },
  1451. {
  1452. "text": "1 hour",
  1453. "value": "PT1H"
  1454. },
  1455. {
  1456. "text": "6 hours",
  1457. "value": "PT6H"
  1458. },
  1459. {
  1460. "text": "12 hours",
  1461. "value": "PT12H"
  1462. },
  1463. {
  1464. "text": "1 day",
  1465. "value": "P1D"
  1466. }
  1467. ],
  1468. "top": "10"
  1469. },
  1470. "insightsAnalytics": {
  1471. "query": "",
  1472. "resultFormat": "time_series"
  1473. },
  1474. "queryType": "Azure Monitor",
  1475. "refId": "A",
  1476. "subscription": "$sub"
  1477. }
  1478. ],
  1479. "thresholds": [],
  1480. "timeFrom": null,
  1481. "timeRegions": [],
  1482. "timeShift": null,
  1483. "title": "Cache Utilization",
  1484. "tooltip": {
  1485. "shared": true,
  1486. "sort": 0,
  1487. "value_type": "individual"
  1488. },
  1489. "type": "graph",
  1490. "xaxis": {
  1491. "buckets": null,
  1492. "mode": "time",
  1493. "name": null,
  1494. "show": true,
  1495. "values": []
  1496. },
  1497. "yaxes": [
  1498. {
  1499. "format": "percent",
  1500. "label": null,
  1501. "logBase": 1,
  1502. "max": null,
  1503. "min": null,
  1504. "show": true
  1505. },
  1506. {
  1507. "format": "short",
  1508. "label": null,
  1509. "logBase": 1,
  1510. "max": null,
  1511. "min": null,
  1512. "show": true
  1513. }
  1514. ],
  1515. "yaxis": {
  1516. "align": false,
  1517. "alignLevel": null
  1518. }
  1519. },
  1520. {
  1521. "aliasColors": {},
  1522. "bars": false,
  1523. "dashLength": 10,
  1524. "dashes": false,
  1525. "datasource": "$ds",
  1526. "fieldConfig": {
  1527. "defaults": {
  1528. "color": {},
  1529. "custom": {},
  1530. "thresholds": {
  1531. "mode": "absolute",
  1532. "steps": []
  1533. }
  1534. },
  1535. "overrides": []
  1536. },
  1537. "fill": 1,
  1538. "fillGradient": 0,
  1539. "gridPos": {
  1540. "h": 10,
  1541. "w": 6,
  1542. "x": 18,
  1543. "y": 16
  1544. },
  1545. "hiddenSeries": false,
  1546. "id": 23,
  1547. "legend": {
  1548. "avg": true,
  1549. "current": false,
  1550. "max": false,
  1551. "min": false,
  1552. "show": true,
  1553. "total": false,
  1554. "values": true
  1555. },
  1556. "lines": true,
  1557. "linewidth": 1,
  1558. "nullPointMode": "null",
  1559. "options": {
  1560. "alertThreshold": true
  1561. },
  1562. "percentage": false,
  1563. "pluginVersion": "7.4.3",
  1564. "pointradius": 2,
  1565. "points": false,
  1566. "renderer": "flot",
  1567. "seriesOverrides": [],
  1568. "spaceLength": 10,
  1569. "stack": false,
  1570. "steppedLine": false,
  1571. "targets": [
  1572. {
  1573. "appInsights": {
  1574. "dimension": [],
  1575. "metricName": "select",
  1576. "timeGrain": "auto"
  1577. },
  1578. "azureLogAnalytics": {
  1579. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  1580. "resultFormat": "time_series",
  1581. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  1582. },
  1583. "azureMonitor": {
  1584. "aggOptions": ["Average", "Maximum", "Minimum"],
  1585. "aggregation": "Average",
  1586. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1587. "dimensionFilter": "*",
  1588. "dimensionFilters": [],
  1589. "dimensions": [],
  1590. "metricDefinition": "$ns",
  1591. "metricName": "InstanceCount",
  1592. "metricNamespace": "Microsoft.Kusto/clusters",
  1593. "resourceGroup": "$rg",
  1594. "resourceName": "$resource",
  1595. "timeGrain": "auto",
  1596. "timeGrains": [
  1597. {
  1598. "text": "auto",
  1599. "value": "auto"
  1600. },
  1601. {
  1602. "text": "1 minute",
  1603. "value": "PT1M"
  1604. },
  1605. {
  1606. "text": "5 minutes",
  1607. "value": "PT5M"
  1608. },
  1609. {
  1610. "text": "15 minutes",
  1611. "value": "PT15M"
  1612. },
  1613. {
  1614. "text": "30 minutes",
  1615. "value": "PT30M"
  1616. },
  1617. {
  1618. "text": "1 hour",
  1619. "value": "PT1H"
  1620. },
  1621. {
  1622. "text": "6 hours",
  1623. "value": "PT6H"
  1624. },
  1625. {
  1626. "text": "12 hours",
  1627. "value": "PT12H"
  1628. },
  1629. {
  1630. "text": "1 day",
  1631. "value": "P1D"
  1632. }
  1633. ],
  1634. "top": "10"
  1635. },
  1636. "insightsAnalytics": {
  1637. "query": "",
  1638. "resultFormat": "time_series"
  1639. },
  1640. "queryType": "Azure Monitor",
  1641. "refId": "A",
  1642. "subscription": "$sub"
  1643. }
  1644. ],
  1645. "thresholds": [],
  1646. "timeFrom": null,
  1647. "timeRegions": [],
  1648. "timeShift": null,
  1649. "title": "Instance Count",
  1650. "tooltip": {
  1651. "shared": true,
  1652. "sort": 0,
  1653. "value_type": "individual"
  1654. },
  1655. "type": "graph",
  1656. "xaxis": {
  1657. "buckets": null,
  1658. "mode": "time",
  1659. "name": null,
  1660. "show": true,
  1661. "values": []
  1662. },
  1663. "yaxes": [
  1664. {
  1665. "format": "short",
  1666. "label": null,
  1667. "logBase": 1,
  1668. "max": null,
  1669. "min": null,
  1670. "show": true
  1671. },
  1672. {
  1673. "format": "short",
  1674. "label": null,
  1675. "logBase": 1,
  1676. "max": null,
  1677. "min": null,
  1678. "show": true
  1679. }
  1680. ],
  1681. "yaxis": {
  1682. "align": false,
  1683. "alignLevel": null
  1684. }
  1685. },
  1686. {
  1687. "aliasColors": {},
  1688. "bars": false,
  1689. "dashLength": 10,
  1690. "dashes": false,
  1691. "datasource": "$ds",
  1692. "fieldConfig": {
  1693. "defaults": {
  1694. "color": {},
  1695. "custom": {},
  1696. "thresholds": {
  1697. "mode": "absolute",
  1698. "steps": []
  1699. }
  1700. },
  1701. "overrides": []
  1702. },
  1703. "fill": 1,
  1704. "fillGradient": 0,
  1705. "gridPos": {
  1706. "h": 10,
  1707. "w": 6,
  1708. "x": 0,
  1709. "y": 26
  1710. },
  1711. "hiddenSeries": false,
  1712. "id": 24,
  1713. "legend": {
  1714. "avg": true,
  1715. "current": false,
  1716. "max": false,
  1717. "min": false,
  1718. "show": true,
  1719. "total": false,
  1720. "values": true
  1721. },
  1722. "lines": true,
  1723. "linewidth": 1,
  1724. "nullPointMode": "null",
  1725. "options": {
  1726. "alertThreshold": true
  1727. },
  1728. "percentage": false,
  1729. "pluginVersion": "7.4.3",
  1730. "pointradius": 2,
  1731. "points": false,
  1732. "renderer": "flot",
  1733. "seriesOverrides": [],
  1734. "spaceLength": 10,
  1735. "stack": false,
  1736. "steppedLine": false,
  1737. "targets": [
  1738. {
  1739. "appInsights": {
  1740. "dimension": [],
  1741. "metricName": "select",
  1742. "timeGrain": "auto"
  1743. },
  1744. "azureLogAnalytics": {
  1745. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  1746. "resultFormat": "time_series",
  1747. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  1748. },
  1749. "azureMonitor": {
  1750. "aggOptions": ["Average", "Maximum", "Minimum"],
  1751. "aggregation": "Average",
  1752. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1753. "dimensionFilter": "*",
  1754. "dimensionFilters": [],
  1755. "dimensions": [],
  1756. "metricDefinition": "$ns",
  1757. "metricName": "TotalNumberOfConcurrentQueries",
  1758. "metricNamespace": "Microsoft.Kusto/clusters",
  1759. "resourceGroup": "$rg",
  1760. "resourceName": "$resource",
  1761. "timeGrain": "auto",
  1762. "timeGrains": [
  1763. {
  1764. "text": "auto",
  1765. "value": "auto"
  1766. },
  1767. {
  1768. "text": "1 minute",
  1769. "value": "PT1M"
  1770. },
  1771. {
  1772. "text": "5 minutes",
  1773. "value": "PT5M"
  1774. },
  1775. {
  1776. "text": "15 minutes",
  1777. "value": "PT15M"
  1778. },
  1779. {
  1780. "text": "30 minutes",
  1781. "value": "PT30M"
  1782. },
  1783. {
  1784. "text": "1 hour",
  1785. "value": "PT1H"
  1786. },
  1787. {
  1788. "text": "6 hours",
  1789. "value": "PT6H"
  1790. },
  1791. {
  1792. "text": "12 hours",
  1793. "value": "PT12H"
  1794. },
  1795. {
  1796. "text": "1 day",
  1797. "value": "P1D"
  1798. }
  1799. ],
  1800. "top": "10"
  1801. },
  1802. "insightsAnalytics": {
  1803. "query": "",
  1804. "resultFormat": "time_series"
  1805. },
  1806. "queryType": "Azure Monitor",
  1807. "refId": "A",
  1808. "subscription": "$sub"
  1809. }
  1810. ],
  1811. "thresholds": [],
  1812. "timeFrom": null,
  1813. "timeRegions": [],
  1814. "timeShift": null,
  1815. "title": "Concurrent Queries",
  1816. "tooltip": {
  1817. "shared": true,
  1818. "sort": 0,
  1819. "value_type": "individual"
  1820. },
  1821. "type": "graph",
  1822. "xaxis": {
  1823. "buckets": null,
  1824. "mode": "time",
  1825. "name": null,
  1826. "show": true,
  1827. "values": []
  1828. },
  1829. "yaxes": [
  1830. {
  1831. "format": "short",
  1832. "label": null,
  1833. "logBase": 1,
  1834. "max": null,
  1835. "min": null,
  1836. "show": true
  1837. },
  1838. {
  1839. "format": "short",
  1840. "label": null,
  1841. "logBase": 1,
  1842. "max": null,
  1843. "min": null,
  1844. "show": true
  1845. }
  1846. ],
  1847. "yaxis": {
  1848. "align": false,
  1849. "alignLevel": null
  1850. }
  1851. },
  1852. {
  1853. "aliasColors": {},
  1854. "bars": false,
  1855. "dashLength": 10,
  1856. "dashes": false,
  1857. "datasource": "$ds",
  1858. "fieldConfig": {
  1859. "defaults": {
  1860. "color": {},
  1861. "custom": {},
  1862. "thresholds": {
  1863. "mode": "absolute",
  1864. "steps": []
  1865. }
  1866. },
  1867. "overrides": []
  1868. },
  1869. "fill": 1,
  1870. "fillGradient": 0,
  1871. "gridPos": {
  1872. "h": 10,
  1873. "w": 6,
  1874. "x": 6,
  1875. "y": 26
  1876. },
  1877. "hiddenSeries": false,
  1878. "id": 25,
  1879. "legend": {
  1880. "avg": true,
  1881. "current": false,
  1882. "max": false,
  1883. "min": false,
  1884. "show": true,
  1885. "total": false,
  1886. "values": true
  1887. },
  1888. "lines": true,
  1889. "linewidth": 1,
  1890. "nullPointMode": "null",
  1891. "options": {
  1892. "alertThreshold": true
  1893. },
  1894. "percentage": false,
  1895. "pluginVersion": "7.4.3",
  1896. "pointradius": 2,
  1897. "points": false,
  1898. "renderer": "flot",
  1899. "seriesOverrides": [],
  1900. "spaceLength": 10,
  1901. "stack": false,
  1902. "steppedLine": false,
  1903. "targets": [
  1904. {
  1905. "appInsights": {
  1906. "dimension": [],
  1907. "metricName": "select",
  1908. "timeGrain": "auto"
  1909. },
  1910. "azureLogAnalytics": {
  1911. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  1912. "resultFormat": "time_series",
  1913. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  1914. },
  1915. "azureMonitor": {
  1916. "aggOptions": ["Average", "Maximum", "Minimum", "Total"],
  1917. "aggregation": "Average",
  1918. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  1919. "dimensionFilter": "*",
  1920. "dimensionFilters": [],
  1921. "dimensions": [
  1922. {
  1923. "text": "Query Status",
  1924. "value": "QueryStatus"
  1925. }
  1926. ],
  1927. "metricDefinition": "$ns",
  1928. "metricName": "QueryDuration",
  1929. "metricNamespace": "Microsoft.Kusto/clusters",
  1930. "resourceGroup": "$rg",
  1931. "resourceName": "$resource",
  1932. "timeGrain": "auto",
  1933. "timeGrains": [
  1934. {
  1935. "text": "auto",
  1936. "value": "auto"
  1937. },
  1938. {
  1939. "text": "1 minute",
  1940. "value": "PT1M"
  1941. },
  1942. {
  1943. "text": "5 minutes",
  1944. "value": "PT5M"
  1945. },
  1946. {
  1947. "text": "15 minutes",
  1948. "value": "PT15M"
  1949. },
  1950. {
  1951. "text": "30 minutes",
  1952. "value": "PT30M"
  1953. },
  1954. {
  1955. "text": "1 hour",
  1956. "value": "PT1H"
  1957. },
  1958. {
  1959. "text": "6 hours",
  1960. "value": "PT6H"
  1961. },
  1962. {
  1963. "text": "12 hours",
  1964. "value": "PT12H"
  1965. },
  1966. {
  1967. "text": "1 day",
  1968. "value": "P1D"
  1969. }
  1970. ],
  1971. "top": "10"
  1972. },
  1973. "insightsAnalytics": {
  1974. "query": "",
  1975. "resultFormat": "time_series"
  1976. },
  1977. "queryType": "Azure Monitor",
  1978. "refId": "A",
  1979. "subscription": "$sub"
  1980. }
  1981. ],
  1982. "thresholds": [],
  1983. "timeFrom": null,
  1984. "timeRegions": [],
  1985. "timeShift": null,
  1986. "title": "Query Duration",
  1987. "tooltip": {
  1988. "shared": true,
  1989. "sort": 0,
  1990. "value_type": "individual"
  1991. },
  1992. "type": "graph",
  1993. "xaxis": {
  1994. "buckets": null,
  1995. "mode": "time",
  1996. "name": null,
  1997. "show": true,
  1998. "values": []
  1999. },
  2000. "yaxes": [
  2001. {
  2002. "format": "ms",
  2003. "label": null,
  2004. "logBase": 1,
  2005. "max": null,
  2006. "min": null,
  2007. "show": true
  2008. },
  2009. {
  2010. "format": "short",
  2011. "label": null,
  2012. "logBase": 1,
  2013. "max": null,
  2014. "min": null,
  2015. "show": true
  2016. }
  2017. ],
  2018. "yaxis": {
  2019. "align": false,
  2020. "alignLevel": null
  2021. }
  2022. },
  2023. {
  2024. "aliasColors": {},
  2025. "bars": false,
  2026. "dashLength": 10,
  2027. "dashes": false,
  2028. "datasource": "$ds",
  2029. "fieldConfig": {
  2030. "defaults": {
  2031. "color": {},
  2032. "custom": {},
  2033. "thresholds": {
  2034. "mode": "absolute",
  2035. "steps": []
  2036. }
  2037. },
  2038. "overrides": []
  2039. },
  2040. "fill": 1,
  2041. "fillGradient": 0,
  2042. "gridPos": {
  2043. "h": 10,
  2044. "w": 6,
  2045. "x": 12,
  2046. "y": 26
  2047. },
  2048. "hiddenSeries": false,
  2049. "id": 26,
  2050. "legend": {
  2051. "avg": true,
  2052. "current": false,
  2053. "max": false,
  2054. "min": false,
  2055. "show": true,
  2056. "total": false,
  2057. "values": true
  2058. },
  2059. "lines": true,
  2060. "linewidth": 1,
  2061. "nullPointMode": "null",
  2062. "options": {
  2063. "alertThreshold": true
  2064. },
  2065. "percentage": false,
  2066. "pluginVersion": "7.4.3",
  2067. "pointradius": 2,
  2068. "points": false,
  2069. "renderer": "flot",
  2070. "seriesOverrides": [],
  2071. "spaceLength": 10,
  2072. "stack": false,
  2073. "steppedLine": false,
  2074. "targets": [
  2075. {
  2076. "appInsights": {
  2077. "dimension": [],
  2078. "metricName": "select",
  2079. "timeGrain": "auto"
  2080. },
  2081. "azureLogAnalytics": {
  2082. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  2083. "resultFormat": "time_series",
  2084. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2085. },
  2086. "azureMonitor": {
  2087. "aggOptions": ["Average", "Maximum", "Minimum", "Total"],
  2088. "aggregation": "Total",
  2089. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2090. "dimensionFilter": "*",
  2091. "dimensionFilters": [],
  2092. "dimensions": [
  2093. {
  2094. "text": "Command Type",
  2095. "value": "CommandType"
  2096. }
  2097. ],
  2098. "metricDefinition": "$ns",
  2099. "metricName": "TotalNumberOfThrottledCommands",
  2100. "metricNamespace": "Microsoft.Kusto/clusters",
  2101. "resourceGroup": "$rg",
  2102. "resourceName": "$resource",
  2103. "timeGrain": "auto",
  2104. "timeGrains": [
  2105. {
  2106. "text": "auto",
  2107. "value": "auto"
  2108. },
  2109. {
  2110. "text": "1 minute",
  2111. "value": "PT1M"
  2112. },
  2113. {
  2114. "text": "5 minutes",
  2115. "value": "PT5M"
  2116. },
  2117. {
  2118. "text": "15 minutes",
  2119. "value": "PT15M"
  2120. },
  2121. {
  2122. "text": "30 minutes",
  2123. "value": "PT30M"
  2124. },
  2125. {
  2126. "text": "1 hour",
  2127. "value": "PT1H"
  2128. },
  2129. {
  2130. "text": "6 hours",
  2131. "value": "PT6H"
  2132. },
  2133. {
  2134. "text": "12 hours",
  2135. "value": "PT12H"
  2136. },
  2137. {
  2138. "text": "1 day",
  2139. "value": "P1D"
  2140. }
  2141. ],
  2142. "top": "10"
  2143. },
  2144. "insightsAnalytics": {
  2145. "query": "",
  2146. "resultFormat": "time_series"
  2147. },
  2148. "queryType": "Azure Monitor",
  2149. "refId": "A",
  2150. "subscription": "$sub"
  2151. }
  2152. ],
  2153. "thresholds": [],
  2154. "timeFrom": null,
  2155. "timeRegions": [],
  2156. "timeShift": null,
  2157. "title": "Throttled Commands",
  2158. "tooltip": {
  2159. "shared": true,
  2160. "sort": 0,
  2161. "value_type": "individual"
  2162. },
  2163. "type": "graph",
  2164. "xaxis": {
  2165. "buckets": null,
  2166. "mode": "time",
  2167. "name": null,
  2168. "show": true,
  2169. "values": []
  2170. },
  2171. "yaxes": [
  2172. {
  2173. "format": "ms",
  2174. "label": null,
  2175. "logBase": 1,
  2176. "max": null,
  2177. "min": null,
  2178. "show": true
  2179. },
  2180. {
  2181. "format": "short",
  2182. "label": null,
  2183. "logBase": 1,
  2184. "max": null,
  2185. "min": null,
  2186. "show": true
  2187. }
  2188. ],
  2189. "yaxis": {
  2190. "align": false,
  2191. "alignLevel": null
  2192. }
  2193. },
  2194. {
  2195. "aliasColors": {},
  2196. "bars": false,
  2197. "dashLength": 10,
  2198. "dashes": false,
  2199. "datasource": "$ds",
  2200. "fieldConfig": {
  2201. "defaults": {
  2202. "color": {},
  2203. "custom": {},
  2204. "thresholds": {
  2205. "mode": "absolute",
  2206. "steps": []
  2207. }
  2208. },
  2209. "overrides": []
  2210. },
  2211. "fill": 1,
  2212. "fillGradient": 0,
  2213. "gridPos": {
  2214. "h": 10,
  2215. "w": 6,
  2216. "x": 18,
  2217. "y": 26
  2218. },
  2219. "hiddenSeries": false,
  2220. "id": 27,
  2221. "legend": {
  2222. "avg": true,
  2223. "current": false,
  2224. "max": false,
  2225. "min": false,
  2226. "show": true,
  2227. "total": false,
  2228. "values": true
  2229. },
  2230. "lines": true,
  2231. "linewidth": 1,
  2232. "nullPointMode": "null",
  2233. "options": {
  2234. "alertThreshold": true
  2235. },
  2236. "percentage": false,
  2237. "pluginVersion": "7.4.3",
  2238. "pointradius": 2,
  2239. "points": false,
  2240. "renderer": "flot",
  2241. "seriesOverrides": [],
  2242. "spaceLength": 10,
  2243. "stack": false,
  2244. "steppedLine": false,
  2245. "targets": [
  2246. {
  2247. "appInsights": {
  2248. "dimension": [],
  2249. "metricName": "select",
  2250. "timeGrain": "auto"
  2251. },
  2252. "azureLogAnalytics": {
  2253. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  2254. "resultFormat": "time_series",
  2255. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2256. },
  2257. "azureMonitor": {
  2258. "aggOptions": ["Average", "Maximum", "Minimum", "Total"],
  2259. "aggregation": "Maximum",
  2260. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2261. "dimensionFilter": "*",
  2262. "dimensionFilters": [],
  2263. "dimensions": [],
  2264. "metricDefinition": "$ns",
  2265. "metricName": "TotalNumberOfThrottledQueries",
  2266. "metricNamespace": "Microsoft.Kusto/clusters",
  2267. "resourceGroup": "$rg",
  2268. "resourceName": "$resource",
  2269. "timeGrain": "auto",
  2270. "timeGrains": [
  2271. {
  2272. "text": "auto",
  2273. "value": "auto"
  2274. },
  2275. {
  2276. "text": "1 minute",
  2277. "value": "PT1M"
  2278. },
  2279. {
  2280. "text": "5 minutes",
  2281. "value": "PT5M"
  2282. },
  2283. {
  2284. "text": "15 minutes",
  2285. "value": "PT15M"
  2286. },
  2287. {
  2288. "text": "30 minutes",
  2289. "value": "PT30M"
  2290. },
  2291. {
  2292. "text": "1 hour",
  2293. "value": "PT1H"
  2294. },
  2295. {
  2296. "text": "6 hours",
  2297. "value": "PT6H"
  2298. },
  2299. {
  2300. "text": "12 hours",
  2301. "value": "PT12H"
  2302. },
  2303. {
  2304. "text": "1 day",
  2305. "value": "P1D"
  2306. }
  2307. ],
  2308. "top": "10"
  2309. },
  2310. "insightsAnalytics": {
  2311. "query": "",
  2312. "resultFormat": "time_series"
  2313. },
  2314. "queryType": "Azure Monitor",
  2315. "refId": "A",
  2316. "subscription": "$sub"
  2317. }
  2318. ],
  2319. "thresholds": [],
  2320. "timeFrom": null,
  2321. "timeRegions": [],
  2322. "timeShift": null,
  2323. "title": "Throttled Queries",
  2324. "tooltip": {
  2325. "shared": true,
  2326. "sort": 0,
  2327. "value_type": "individual"
  2328. },
  2329. "type": "graph",
  2330. "xaxis": {
  2331. "buckets": null,
  2332. "mode": "time",
  2333. "name": null,
  2334. "show": true,
  2335. "values": []
  2336. },
  2337. "yaxes": [
  2338. {
  2339. "format": "short",
  2340. "label": null,
  2341. "logBase": 1,
  2342. "max": null,
  2343. "min": null,
  2344. "show": true
  2345. },
  2346. {
  2347. "format": "short",
  2348. "label": null,
  2349. "logBase": 1,
  2350. "max": null,
  2351. "min": null,
  2352. "show": true
  2353. }
  2354. ],
  2355. "yaxis": {
  2356. "align": false,
  2357. "alignLevel": null
  2358. }
  2359. },
  2360. {
  2361. "aliasColors": {},
  2362. "bars": false,
  2363. "dashLength": 10,
  2364. "dashes": false,
  2365. "datasource": "$ds",
  2366. "fieldConfig": {
  2367. "defaults": {
  2368. "color": {},
  2369. "custom": {},
  2370. "thresholds": {
  2371. "mode": "absolute",
  2372. "steps": []
  2373. }
  2374. },
  2375. "overrides": []
  2376. },
  2377. "fill": 1,
  2378. "fillGradient": 0,
  2379. "gridPos": {
  2380. "h": 10,
  2381. "w": 6,
  2382. "x": 0,
  2383. "y": 36
  2384. },
  2385. "hiddenSeries": false,
  2386. "id": 28,
  2387. "legend": {
  2388. "avg": true,
  2389. "current": false,
  2390. "max": false,
  2391. "min": false,
  2392. "show": true,
  2393. "total": false,
  2394. "values": true
  2395. },
  2396. "lines": true,
  2397. "linewidth": 1,
  2398. "nullPointMode": "null",
  2399. "options": {
  2400. "alertThreshold": true
  2401. },
  2402. "percentage": false,
  2403. "pluginVersion": "7.4.3",
  2404. "pointradius": 2,
  2405. "points": false,
  2406. "renderer": "flot",
  2407. "seriesOverrides": [],
  2408. "spaceLength": 10,
  2409. "stack": false,
  2410. "steppedLine": false,
  2411. "targets": [
  2412. {
  2413. "appInsights": {
  2414. "dimension": [],
  2415. "metricName": "select",
  2416. "timeGrain": "auto"
  2417. },
  2418. "azureLogAnalytics": {
  2419. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  2420. "resultFormat": "time_series",
  2421. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2422. },
  2423. "azureMonitor": {
  2424. "aggOptions": ["Average", "Maximum", "Minimum"],
  2425. "aggregation": "Average",
  2426. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2427. "dimensionFilter": "*",
  2428. "dimensionFilters": [],
  2429. "dimensions": [],
  2430. "metricDefinition": "$ns",
  2431. "metricName": "IngestionUtilization",
  2432. "metricNamespace": "Microsoft.Kusto/clusters",
  2433. "resourceGroup": "$rg",
  2434. "resourceName": "$resource",
  2435. "timeGrain": "auto",
  2436. "timeGrains": [
  2437. {
  2438. "text": "auto",
  2439. "value": "auto"
  2440. },
  2441. {
  2442. "text": "1 minute",
  2443. "value": "PT1M"
  2444. },
  2445. {
  2446. "text": "5 minutes",
  2447. "value": "PT5M"
  2448. },
  2449. {
  2450. "text": "15 minutes",
  2451. "value": "PT15M"
  2452. },
  2453. {
  2454. "text": "30 minutes",
  2455. "value": "PT30M"
  2456. },
  2457. {
  2458. "text": "1 hour",
  2459. "value": "PT1H"
  2460. },
  2461. {
  2462. "text": "6 hours",
  2463. "value": "PT6H"
  2464. },
  2465. {
  2466. "text": "12 hours",
  2467. "value": "PT12H"
  2468. },
  2469. {
  2470. "text": "1 day",
  2471. "value": "P1D"
  2472. }
  2473. ],
  2474. "top": "10"
  2475. },
  2476. "insightsAnalytics": {
  2477. "query": "",
  2478. "resultFormat": "time_series"
  2479. },
  2480. "queryType": "Azure Monitor",
  2481. "refId": "A",
  2482. "subscription": "$sub"
  2483. }
  2484. ],
  2485. "thresholds": [],
  2486. "timeFrom": null,
  2487. "timeRegions": [],
  2488. "timeShift": null,
  2489. "title": "Ingestion Utilization",
  2490. "tooltip": {
  2491. "shared": true,
  2492. "sort": 0,
  2493. "value_type": "individual"
  2494. },
  2495. "type": "graph",
  2496. "xaxis": {
  2497. "buckets": null,
  2498. "mode": "time",
  2499. "name": null,
  2500. "show": true,
  2501. "values": []
  2502. },
  2503. "yaxes": [
  2504. {
  2505. "format": "percent",
  2506. "label": null,
  2507. "logBase": 1,
  2508. "max": null,
  2509. "min": null,
  2510. "show": true
  2511. },
  2512. {
  2513. "format": "short",
  2514. "label": null,
  2515. "logBase": 1,
  2516. "max": null,
  2517. "min": null,
  2518. "show": true
  2519. }
  2520. ],
  2521. "yaxis": {
  2522. "align": false,
  2523. "alignLevel": null
  2524. }
  2525. },
  2526. {
  2527. "aliasColors": {},
  2528. "bars": false,
  2529. "dashLength": 10,
  2530. "dashes": false,
  2531. "datasource": "$ds",
  2532. "fieldConfig": {
  2533. "defaults": {
  2534. "color": {},
  2535. "custom": {},
  2536. "thresholds": {
  2537. "mode": "absolute",
  2538. "steps": []
  2539. }
  2540. },
  2541. "overrides": []
  2542. },
  2543. "fill": 1,
  2544. "fillGradient": 0,
  2545. "gridPos": {
  2546. "h": 10,
  2547. "w": 6,
  2548. "x": 6,
  2549. "y": 36
  2550. },
  2551. "hiddenSeries": false,
  2552. "id": 29,
  2553. "legend": {
  2554. "avg": true,
  2555. "current": false,
  2556. "max": false,
  2557. "min": false,
  2558. "show": true,
  2559. "total": false,
  2560. "values": true
  2561. },
  2562. "lines": true,
  2563. "linewidth": 1,
  2564. "nullPointMode": "null",
  2565. "options": {
  2566. "alertThreshold": true
  2567. },
  2568. "percentage": false,
  2569. "pluginVersion": "7.4.3",
  2570. "pointradius": 2,
  2571. "points": false,
  2572. "renderer": "flot",
  2573. "seriesOverrides": [],
  2574. "spaceLength": 10,
  2575. "stack": false,
  2576. "steppedLine": false,
  2577. "targets": [
  2578. {
  2579. "appInsights": {
  2580. "dimension": [],
  2581. "metricName": "select",
  2582. "timeGrain": "auto"
  2583. },
  2584. "azureLogAnalytics": {
  2585. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  2586. "resultFormat": "time_series",
  2587. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2588. },
  2589. "azureMonitor": {
  2590. "aggOptions": ["Average", "Maximum", "Minimum"],
  2591. "aggregation": "Average",
  2592. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2593. "dimensionFilter": "*",
  2594. "dimensionFilters": [],
  2595. "dimensions": [],
  2596. "metricDefinition": "$ns",
  2597. "metricName": "IngestionLatencyInSeconds",
  2598. "metricNamespace": "Microsoft.Kusto/clusters",
  2599. "resourceGroup": "$rg",
  2600. "resourceName": "$resource",
  2601. "timeGrain": "auto",
  2602. "timeGrains": [
  2603. {
  2604. "text": "auto",
  2605. "value": "auto"
  2606. },
  2607. {
  2608. "text": "1 minute",
  2609. "value": "PT1M"
  2610. },
  2611. {
  2612. "text": "5 minutes",
  2613. "value": "PT5M"
  2614. },
  2615. {
  2616. "text": "15 minutes",
  2617. "value": "PT15M"
  2618. },
  2619. {
  2620. "text": "30 minutes",
  2621. "value": "PT30M"
  2622. },
  2623. {
  2624. "text": "1 hour",
  2625. "value": "PT1H"
  2626. },
  2627. {
  2628. "text": "6 hours",
  2629. "value": "PT6H"
  2630. },
  2631. {
  2632. "text": "12 hours",
  2633. "value": "PT12H"
  2634. },
  2635. {
  2636. "text": "1 day",
  2637. "value": "P1D"
  2638. }
  2639. ],
  2640. "top": "10"
  2641. },
  2642. "insightsAnalytics": {
  2643. "query": "",
  2644. "resultFormat": "time_series"
  2645. },
  2646. "queryType": "Azure Monitor",
  2647. "refId": "A",
  2648. "subscription": "$sub"
  2649. }
  2650. ],
  2651. "thresholds": [],
  2652. "timeFrom": null,
  2653. "timeRegions": [],
  2654. "timeShift": null,
  2655. "title": "Ingestion Latency",
  2656. "tooltip": {
  2657. "shared": true,
  2658. "sort": 0,
  2659. "value_type": "individual"
  2660. },
  2661. "type": "graph",
  2662. "xaxis": {
  2663. "buckets": null,
  2664. "mode": "time",
  2665. "name": null,
  2666. "show": true,
  2667. "values": []
  2668. },
  2669. "yaxes": [
  2670. {
  2671. "format": "s",
  2672. "label": null,
  2673. "logBase": 1,
  2674. "max": null,
  2675. "min": null,
  2676. "show": true
  2677. },
  2678. {
  2679. "format": "short",
  2680. "label": null,
  2681. "logBase": 1,
  2682. "max": null,
  2683. "min": null,
  2684. "show": true
  2685. }
  2686. ],
  2687. "yaxis": {
  2688. "align": false,
  2689. "alignLevel": null
  2690. }
  2691. },
  2692. {
  2693. "aliasColors": {},
  2694. "bars": false,
  2695. "dashLength": 10,
  2696. "dashes": false,
  2697. "datasource": "$ds",
  2698. "fieldConfig": {
  2699. "defaults": {
  2700. "color": {},
  2701. "custom": {},
  2702. "thresholds": {
  2703. "mode": "absolute",
  2704. "steps": []
  2705. }
  2706. },
  2707. "overrides": []
  2708. },
  2709. "fill": 1,
  2710. "fillGradient": 0,
  2711. "gridPos": {
  2712. "h": 10,
  2713. "w": 6,
  2714. "x": 12,
  2715. "y": 36
  2716. },
  2717. "hiddenSeries": false,
  2718. "id": 30,
  2719. "legend": {
  2720. "avg": true,
  2721. "current": false,
  2722. "max": false,
  2723. "min": false,
  2724. "show": true,
  2725. "total": false,
  2726. "values": true
  2727. },
  2728. "lines": true,
  2729. "linewidth": 1,
  2730. "nullPointMode": "null",
  2731. "options": {
  2732. "alertThreshold": true
  2733. },
  2734. "percentage": false,
  2735. "pluginVersion": "7.4.3",
  2736. "pointradius": 2,
  2737. "points": false,
  2738. "renderer": "flot",
  2739. "seriesOverrides": [],
  2740. "spaceLength": 10,
  2741. "stack": false,
  2742. "steppedLine": false,
  2743. "targets": [
  2744. {
  2745. "appInsights": {
  2746. "dimension": [],
  2747. "metricName": "select",
  2748. "timeGrain": "auto"
  2749. },
  2750. "azureLogAnalytics": {
  2751. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  2752. "resultFormat": "time_series",
  2753. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2754. },
  2755. "azureMonitor": {
  2756. "aggOptions": ["Total"],
  2757. "aggregation": "Total",
  2758. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2759. "dimensionFilter": "*",
  2760. "dimensionFilters": [],
  2761. "dimensions": [
  2762. {
  2763. "text": "Status",
  2764. "value": "IngestionResultDetails"
  2765. }
  2766. ],
  2767. "metricDefinition": "$ns",
  2768. "metricName": "IngestionResult",
  2769. "metricNamespace": "Microsoft.Kusto/clusters",
  2770. "resourceGroup": "$rg",
  2771. "resourceName": "$resource",
  2772. "timeGrain": "auto",
  2773. "timeGrains": [
  2774. {
  2775. "text": "auto",
  2776. "value": "auto"
  2777. },
  2778. {
  2779. "text": "1 minute",
  2780. "value": "PT1M"
  2781. },
  2782. {
  2783. "text": "5 minutes",
  2784. "value": "PT5M"
  2785. },
  2786. {
  2787. "text": "15 minutes",
  2788. "value": "PT15M"
  2789. },
  2790. {
  2791. "text": "30 minutes",
  2792. "value": "PT30M"
  2793. },
  2794. {
  2795. "text": "1 hour",
  2796. "value": "PT1H"
  2797. },
  2798. {
  2799. "text": "6 hours",
  2800. "value": "PT6H"
  2801. },
  2802. {
  2803. "text": "12 hours",
  2804. "value": "PT12H"
  2805. },
  2806. {
  2807. "text": "1 day",
  2808. "value": "P1D"
  2809. }
  2810. ],
  2811. "top": "10"
  2812. },
  2813. "insightsAnalytics": {
  2814. "query": "",
  2815. "resultFormat": "time_series"
  2816. },
  2817. "queryType": "Azure Monitor",
  2818. "refId": "A",
  2819. "subscription": "$sub"
  2820. }
  2821. ],
  2822. "thresholds": [],
  2823. "timeFrom": null,
  2824. "timeRegions": [],
  2825. "timeShift": null,
  2826. "title": "Ingestion Result",
  2827. "tooltip": {
  2828. "shared": true,
  2829. "sort": 0,
  2830. "value_type": "individual"
  2831. },
  2832. "type": "graph",
  2833. "xaxis": {
  2834. "buckets": null,
  2835. "mode": "time",
  2836. "name": null,
  2837. "show": true,
  2838. "values": []
  2839. },
  2840. "yaxes": [
  2841. {
  2842. "format": "short",
  2843. "label": null,
  2844. "logBase": 1,
  2845. "max": null,
  2846. "min": null,
  2847. "show": true
  2848. },
  2849. {
  2850. "format": "short",
  2851. "label": null,
  2852. "logBase": 1,
  2853. "max": null,
  2854. "min": null,
  2855. "show": true
  2856. }
  2857. ],
  2858. "yaxis": {
  2859. "align": false,
  2860. "alignLevel": null
  2861. }
  2862. },
  2863. {
  2864. "aliasColors": {},
  2865. "bars": false,
  2866. "dashLength": 10,
  2867. "dashes": false,
  2868. "datasource": "$ds",
  2869. "fieldConfig": {
  2870. "defaults": {
  2871. "color": {},
  2872. "custom": {},
  2873. "thresholds": {
  2874. "mode": "absolute",
  2875. "steps": []
  2876. }
  2877. },
  2878. "overrides": []
  2879. },
  2880. "fill": 1,
  2881. "fillGradient": 0,
  2882. "gridPos": {
  2883. "h": 10,
  2884. "w": 6,
  2885. "x": 18,
  2886. "y": 36
  2887. },
  2888. "hiddenSeries": false,
  2889. "id": 31,
  2890. "legend": {
  2891. "avg": false,
  2892. "current": false,
  2893. "max": false,
  2894. "min": false,
  2895. "show": true,
  2896. "total": true,
  2897. "values": true
  2898. },
  2899. "lines": true,
  2900. "linewidth": 1,
  2901. "nullPointMode": "null",
  2902. "options": {
  2903. "alertThreshold": true
  2904. },
  2905. "percentage": false,
  2906. "pluginVersion": "7.4.3",
  2907. "pointradius": 2,
  2908. "points": false,
  2909. "renderer": "flot",
  2910. "seriesOverrides": [],
  2911. "spaceLength": 10,
  2912. "stack": false,
  2913. "steppedLine": false,
  2914. "targets": [
  2915. {
  2916. "appInsights": {
  2917. "dimension": [],
  2918. "metricName": "select",
  2919. "timeGrain": "auto"
  2920. },
  2921. "azureLogAnalytics": {
  2922. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  2923. "resultFormat": "time_series",
  2924. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  2925. },
  2926. "azureMonitor": {
  2927. "aggOptions": ["Total", "Maximum"],
  2928. "aggregation": "Total",
  2929. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  2930. "dimensionFilter": "*",
  2931. "dimensionFilters": [],
  2932. "dimensions": [
  2933. {
  2934. "text": "Database",
  2935. "value": "Database"
  2936. }
  2937. ],
  2938. "metricDefinition": "$ns",
  2939. "metricName": "IngestionVolumeInMB",
  2940. "metricNamespace": "Microsoft.Kusto/clusters",
  2941. "resourceGroup": "$rg",
  2942. "resourceName": "$resource",
  2943. "timeGrain": "auto",
  2944. "timeGrains": [
  2945. {
  2946. "text": "auto",
  2947. "value": "auto"
  2948. },
  2949. {
  2950. "text": "1 minute",
  2951. "value": "PT1M"
  2952. },
  2953. {
  2954. "text": "5 minutes",
  2955. "value": "PT5M"
  2956. },
  2957. {
  2958. "text": "15 minutes",
  2959. "value": "PT15M"
  2960. },
  2961. {
  2962. "text": "30 minutes",
  2963. "value": "PT30M"
  2964. },
  2965. {
  2966. "text": "1 hour",
  2967. "value": "PT1H"
  2968. },
  2969. {
  2970. "text": "6 hours",
  2971. "value": "PT6H"
  2972. },
  2973. {
  2974. "text": "12 hours",
  2975. "value": "PT12H"
  2976. },
  2977. {
  2978. "text": "1 day",
  2979. "value": "P1D"
  2980. }
  2981. ],
  2982. "top": "10"
  2983. },
  2984. "insightsAnalytics": {
  2985. "query": "",
  2986. "resultFormat": "time_series"
  2987. },
  2988. "queryType": "Azure Monitor",
  2989. "refId": "A",
  2990. "subscription": "$sub"
  2991. }
  2992. ],
  2993. "thresholds": [],
  2994. "timeFrom": null,
  2995. "timeRegions": [],
  2996. "timeShift": null,
  2997. "title": "Ingestion Volume",
  2998. "tooltip": {
  2999. "shared": true,
  3000. "sort": 0,
  3001. "value_type": "individual"
  3002. },
  3003. "type": "graph",
  3004. "xaxis": {
  3005. "buckets": null,
  3006. "mode": "time",
  3007. "name": null,
  3008. "show": true,
  3009. "values": []
  3010. },
  3011. "yaxes": [
  3012. {
  3013. "format": "decbytes",
  3014. "label": null,
  3015. "logBase": 1,
  3016. "max": null,
  3017. "min": null,
  3018. "show": true
  3019. },
  3020. {
  3021. "format": "short",
  3022. "label": null,
  3023. "logBase": 1,
  3024. "max": null,
  3025. "min": null,
  3026. "show": true
  3027. }
  3028. ],
  3029. "yaxis": {
  3030. "align": false,
  3031. "alignLevel": null
  3032. }
  3033. },
  3034. {
  3035. "aliasColors": {},
  3036. "bars": false,
  3037. "dashLength": 10,
  3038. "dashes": false,
  3039. "datasource": "$ds",
  3040. "fieldConfig": {
  3041. "defaults": {
  3042. "color": {},
  3043. "custom": {},
  3044. "thresholds": {
  3045. "mode": "absolute",
  3046. "steps": []
  3047. }
  3048. },
  3049. "overrides": []
  3050. },
  3051. "fill": 1,
  3052. "fillGradient": 0,
  3053. "gridPos": {
  3054. "h": 10,
  3055. "w": 6,
  3056. "x": 0,
  3057. "y": 46
  3058. },
  3059. "hiddenSeries": false,
  3060. "id": 32,
  3061. "legend": {
  3062. "avg": true,
  3063. "current": false,
  3064. "max": false,
  3065. "min": false,
  3066. "show": true,
  3067. "total": false,
  3068. "values": true
  3069. },
  3070. "lines": true,
  3071. "linewidth": 1,
  3072. "nullPointMode": "null",
  3073. "options": {
  3074. "alertThreshold": true
  3075. },
  3076. "percentage": false,
  3077. "pluginVersion": "7.4.3",
  3078. "pointradius": 2,
  3079. "points": false,
  3080. "renderer": "flot",
  3081. "seriesOverrides": [],
  3082. "spaceLength": 10,
  3083. "stack": false,
  3084. "steppedLine": false,
  3085. "targets": [
  3086. {
  3087. "appInsights": {
  3088. "dimension": [],
  3089. "metricName": "select",
  3090. "timeGrain": "auto"
  3091. },
  3092. "azureLogAnalytics": {
  3093. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  3094. "resultFormat": "time_series",
  3095. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3096. },
  3097. "azureMonitor": {
  3098. "aggOptions": ["Average", "Minimum", "Maximum"],
  3099. "aggregation": "Average",
  3100. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  3101. "dimensionFilter": "*",
  3102. "dimensionFilters": [],
  3103. "dimensions": [],
  3104. "metricDefinition": "$ns",
  3105. "metricName": "StreamingIngestDataRate",
  3106. "metricNamespace": "Microsoft.Kusto/clusters",
  3107. "resourceGroup": "$rg",
  3108. "resourceName": "$resource",
  3109. "timeGrain": "auto",
  3110. "timeGrains": [
  3111. {
  3112. "text": "auto",
  3113. "value": "auto"
  3114. },
  3115. {
  3116. "text": "1 minute",
  3117. "value": "PT1M"
  3118. },
  3119. {
  3120. "text": "5 minutes",
  3121. "value": "PT5M"
  3122. },
  3123. {
  3124. "text": "15 minutes",
  3125. "value": "PT15M"
  3126. },
  3127. {
  3128. "text": "30 minutes",
  3129. "value": "PT30M"
  3130. },
  3131. {
  3132. "text": "1 hour",
  3133. "value": "PT1H"
  3134. },
  3135. {
  3136. "text": "6 hours",
  3137. "value": "PT6H"
  3138. },
  3139. {
  3140. "text": "12 hours",
  3141. "value": "PT12H"
  3142. },
  3143. {
  3144. "text": "1 day",
  3145. "value": "P1D"
  3146. }
  3147. ],
  3148. "top": "10"
  3149. },
  3150. "insightsAnalytics": {
  3151. "query": "",
  3152. "resultFormat": "time_series"
  3153. },
  3154. "queryType": "Azure Monitor",
  3155. "refId": "A",
  3156. "subscription": "$sub"
  3157. }
  3158. ],
  3159. "thresholds": [],
  3160. "timeFrom": null,
  3161. "timeRegions": [],
  3162. "timeShift": null,
  3163. "title": "Streaming Ingest Data Rate",
  3164. "tooltip": {
  3165. "shared": true,
  3166. "sort": 0,
  3167. "value_type": "individual"
  3168. },
  3169. "type": "graph",
  3170. "xaxis": {
  3171. "buckets": null,
  3172. "mode": "time",
  3173. "name": null,
  3174. "show": true,
  3175. "values": []
  3176. },
  3177. "yaxes": [
  3178. {
  3179. "format": "short",
  3180. "label": null,
  3181. "logBase": 1,
  3182. "max": null,
  3183. "min": null,
  3184. "show": true
  3185. },
  3186. {
  3187. "format": "short",
  3188. "label": null,
  3189. "logBase": 1,
  3190. "max": null,
  3191. "min": null,
  3192. "show": true
  3193. }
  3194. ],
  3195. "yaxis": {
  3196. "align": false,
  3197. "alignLevel": null
  3198. }
  3199. },
  3200. {
  3201. "aliasColors": {},
  3202. "bars": false,
  3203. "dashLength": 10,
  3204. "dashes": false,
  3205. "datasource": "$ds",
  3206. "fieldConfig": {
  3207. "defaults": {
  3208. "color": {},
  3209. "custom": {},
  3210. "thresholds": {
  3211. "mode": "absolute",
  3212. "steps": []
  3213. }
  3214. },
  3215. "overrides": []
  3216. },
  3217. "fill": 1,
  3218. "fillGradient": 0,
  3219. "gridPos": {
  3220. "h": 10,
  3221. "w": 6,
  3222. "x": 6,
  3223. "y": 46
  3224. },
  3225. "hiddenSeries": false,
  3226. "id": 33,
  3227. "legend": {
  3228. "avg": true,
  3229. "current": false,
  3230. "max": false,
  3231. "min": false,
  3232. "show": true,
  3233. "total": false,
  3234. "values": true
  3235. },
  3236. "lines": true,
  3237. "linewidth": 1,
  3238. "nullPointMode": "null",
  3239. "options": {
  3240. "alertThreshold": true
  3241. },
  3242. "percentage": false,
  3243. "pluginVersion": "7.4.3",
  3244. "pointradius": 2,
  3245. "points": false,
  3246. "renderer": "flot",
  3247. "seriesOverrides": [],
  3248. "spaceLength": 10,
  3249. "stack": false,
  3250. "steppedLine": false,
  3251. "targets": [
  3252. {
  3253. "appInsights": {
  3254. "dimension": [],
  3255. "metricName": "select",
  3256. "timeGrain": "auto"
  3257. },
  3258. "azureLogAnalytics": {
  3259. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  3260. "resultFormat": "time_series",
  3261. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3262. },
  3263. "azureMonitor": {
  3264. "aggOptions": ["Average", "Minimum", "Maximum"],
  3265. "aggregation": "Average",
  3266. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  3267. "dimensionFilter": "*",
  3268. "dimensionFilters": [],
  3269. "dimensions": [],
  3270. "metricDefinition": "$ns",
  3271. "metricName": "StreamingIngestDuration",
  3272. "metricNamespace": "Microsoft.Kusto/clusters",
  3273. "resourceGroup": "$rg",
  3274. "resourceName": "$resource",
  3275. "timeGrain": "auto",
  3276. "timeGrains": [
  3277. {
  3278. "text": "auto",
  3279. "value": "auto"
  3280. },
  3281. {
  3282. "text": "1 minute",
  3283. "value": "PT1M"
  3284. },
  3285. {
  3286. "text": "5 minutes",
  3287. "value": "PT5M"
  3288. },
  3289. {
  3290. "text": "15 minutes",
  3291. "value": "PT15M"
  3292. },
  3293. {
  3294. "text": "30 minutes",
  3295. "value": "PT30M"
  3296. },
  3297. {
  3298. "text": "1 hour",
  3299. "value": "PT1H"
  3300. },
  3301. {
  3302. "text": "6 hours",
  3303. "value": "PT6H"
  3304. },
  3305. {
  3306. "text": "12 hours",
  3307. "value": "PT12H"
  3308. },
  3309. {
  3310. "text": "1 day",
  3311. "value": "P1D"
  3312. }
  3313. ],
  3314. "top": "10"
  3315. },
  3316. "insightsAnalytics": {
  3317. "query": "",
  3318. "resultFormat": "time_series"
  3319. },
  3320. "queryType": "Azure Monitor",
  3321. "refId": "A",
  3322. "subscription": "$sub"
  3323. }
  3324. ],
  3325. "thresholds": [],
  3326. "timeFrom": null,
  3327. "timeRegions": [],
  3328. "timeShift": null,
  3329. "title": "Streaming Ingest Duration",
  3330. "tooltip": {
  3331. "shared": true,
  3332. "sort": 0,
  3333. "value_type": "individual"
  3334. },
  3335. "type": "graph",
  3336. "xaxis": {
  3337. "buckets": null,
  3338. "mode": "time",
  3339. "name": null,
  3340. "show": true,
  3341. "values": []
  3342. },
  3343. "yaxes": [
  3344. {
  3345. "format": "ms",
  3346. "label": null,
  3347. "logBase": 1,
  3348. "max": null,
  3349. "min": null,
  3350. "show": true
  3351. },
  3352. {
  3353. "format": "short",
  3354. "label": null,
  3355. "logBase": 1,
  3356. "max": null,
  3357. "min": null,
  3358. "show": true
  3359. }
  3360. ],
  3361. "yaxis": {
  3362. "align": false,
  3363. "alignLevel": null
  3364. }
  3365. },
  3366. {
  3367. "aliasColors": {},
  3368. "bars": false,
  3369. "dashLength": 10,
  3370. "dashes": false,
  3371. "datasource": "$ds",
  3372. "fieldConfig": {
  3373. "defaults": {
  3374. "color": {},
  3375. "custom": {},
  3376. "thresholds": {
  3377. "mode": "absolute",
  3378. "steps": []
  3379. }
  3380. },
  3381. "overrides": []
  3382. },
  3383. "fill": 1,
  3384. "fillGradient": 0,
  3385. "gridPos": {
  3386. "h": 10,
  3387. "w": 6,
  3388. "x": 12,
  3389. "y": 46
  3390. },
  3391. "hiddenSeries": false,
  3392. "id": 35,
  3393. "legend": {
  3394. "avg": true,
  3395. "current": false,
  3396. "max": false,
  3397. "min": false,
  3398. "show": true,
  3399. "total": false,
  3400. "values": true
  3401. },
  3402. "lines": true,
  3403. "linewidth": 1,
  3404. "nullPointMode": "null",
  3405. "options": {
  3406. "alertThreshold": true
  3407. },
  3408. "percentage": false,
  3409. "pluginVersion": "7.4.3",
  3410. "pointradius": 2,
  3411. "points": false,
  3412. "renderer": "flot",
  3413. "seriesOverrides": [],
  3414. "spaceLength": 10,
  3415. "stack": false,
  3416. "steppedLine": false,
  3417. "targets": [
  3418. {
  3419. "appInsights": {
  3420. "dimension": [],
  3421. "metricName": "select",
  3422. "timeGrain": "auto"
  3423. },
  3424. "azureLogAnalytics": {
  3425. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  3426. "resultFormat": "time_series",
  3427. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3428. },
  3429. "azureMonitor": {
  3430. "aggOptions": ["Average"],
  3431. "aggregation": "Average",
  3432. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  3433. "dimensionFilter": "*",
  3434. "dimensionFilters": [],
  3435. "dimensions": [
  3436. {
  3437. "text": "Result",
  3438. "value": "Result"
  3439. }
  3440. ],
  3441. "metricDefinition": "$ns",
  3442. "metricName": "StreamingIngestResults",
  3443. "metricNamespace": "Microsoft.Kusto/clusters",
  3444. "resourceGroup": "$rg",
  3445. "resourceName": "$resource",
  3446. "timeGrain": "auto",
  3447. "timeGrains": [
  3448. {
  3449. "text": "auto",
  3450. "value": "auto"
  3451. },
  3452. {
  3453. "text": "1 minute",
  3454. "value": "PT1M"
  3455. },
  3456. {
  3457. "text": "5 minutes",
  3458. "value": "PT5M"
  3459. },
  3460. {
  3461. "text": "15 minutes",
  3462. "value": "PT15M"
  3463. },
  3464. {
  3465. "text": "30 minutes",
  3466. "value": "PT30M"
  3467. },
  3468. {
  3469. "text": "1 hour",
  3470. "value": "PT1H"
  3471. },
  3472. {
  3473. "text": "6 hours",
  3474. "value": "PT6H"
  3475. },
  3476. {
  3477. "text": "12 hours",
  3478. "value": "PT12H"
  3479. },
  3480. {
  3481. "text": "1 day",
  3482. "value": "P1D"
  3483. }
  3484. ],
  3485. "top": "10"
  3486. },
  3487. "insightsAnalytics": {
  3488. "query": "",
  3489. "resultFormat": "time_series"
  3490. },
  3491. "queryType": "Azure Monitor",
  3492. "refId": "A",
  3493. "subscription": "$sub"
  3494. }
  3495. ],
  3496. "thresholds": [],
  3497. "timeFrom": null,
  3498. "timeRegions": [],
  3499. "timeShift": null,
  3500. "title": "Streaming Ingest Result",
  3501. "tooltip": {
  3502. "shared": true,
  3503. "sort": 0,
  3504. "value_type": "individual"
  3505. },
  3506. "type": "graph",
  3507. "xaxis": {
  3508. "buckets": null,
  3509. "mode": "time",
  3510. "name": null,
  3511. "show": true,
  3512. "values": []
  3513. },
  3514. "yaxes": [
  3515. {
  3516. "format": "short",
  3517. "label": null,
  3518. "logBase": 1,
  3519. "max": null,
  3520. "min": null,
  3521. "show": true
  3522. },
  3523. {
  3524. "format": "short",
  3525. "label": null,
  3526. "logBase": 1,
  3527. "max": null,
  3528. "min": null,
  3529. "show": true
  3530. }
  3531. ],
  3532. "yaxis": {
  3533. "align": false,
  3534. "alignLevel": null
  3535. }
  3536. },
  3537. {
  3538. "aliasColors": {},
  3539. "bars": false,
  3540. "dashLength": 10,
  3541. "dashes": false,
  3542. "datasource": "$ds",
  3543. "fieldConfig": {
  3544. "defaults": {
  3545. "color": {},
  3546. "custom": {},
  3547. "thresholds": {
  3548. "mode": "absolute",
  3549. "steps": []
  3550. }
  3551. },
  3552. "overrides": []
  3553. },
  3554. "fill": 1,
  3555. "fillGradient": 0,
  3556. "gridPos": {
  3557. "h": 9,
  3558. "w": 12,
  3559. "x": 0,
  3560. "y": 56
  3561. },
  3562. "hiddenSeries": false,
  3563. "id": 36,
  3564. "legend": {
  3565. "avg": true,
  3566. "current": false,
  3567. "max": false,
  3568. "min": false,
  3569. "show": true,
  3570. "total": false,
  3571. "values": true
  3572. },
  3573. "lines": true,
  3574. "linewidth": 1,
  3575. "nullPointMode": "null",
  3576. "options": {
  3577. "alertThreshold": true
  3578. },
  3579. "percentage": false,
  3580. "pluginVersion": "7.4.3",
  3581. "pointradius": 2,
  3582. "points": false,
  3583. "renderer": "flot",
  3584. "seriesOverrides": [],
  3585. "spaceLength": 10,
  3586. "stack": false,
  3587. "steppedLine": false,
  3588. "targets": [
  3589. {
  3590. "appInsights": {
  3591. "dimension": [],
  3592. "metricName": "select",
  3593. "timeGrain": "auto"
  3594. },
  3595. "azureLogAnalytics": {
  3596. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  3597. "resultFormat": "time_series",
  3598. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3599. },
  3600. "azureMonitor": {
  3601. "aggOptions": ["Total", "Average", "Minimum", "Maximum"],
  3602. "aggregation": "Total",
  3603. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  3604. "dimensionFilter": "*",
  3605. "dimensionFilters": [],
  3606. "dimensions": [
  3607. {
  3608. "text": "Component Type",
  3609. "value": "ComponentType"
  3610. },
  3611. {
  3612. "text": "Component Name",
  3613. "value": "ComponentName"
  3614. }
  3615. ],
  3616. "metricDefinition": "$ns",
  3617. "metricName": "EventsProcessed",
  3618. "metricNamespace": "Microsoft.Kusto/clusters",
  3619. "resourceGroup": "$rg",
  3620. "resourceName": "$resource",
  3621. "timeGrain": "auto",
  3622. "timeGrains": [
  3623. {
  3624. "text": "auto",
  3625. "value": "auto"
  3626. },
  3627. {
  3628. "text": "1 minute",
  3629. "value": "PT1M"
  3630. },
  3631. {
  3632. "text": "5 minutes",
  3633. "value": "PT5M"
  3634. },
  3635. {
  3636. "text": "15 minutes",
  3637. "value": "PT15M"
  3638. },
  3639. {
  3640. "text": "30 minutes",
  3641. "value": "PT30M"
  3642. },
  3643. {
  3644. "text": "1 hour",
  3645. "value": "PT1H"
  3646. },
  3647. {
  3648. "text": "6 hours",
  3649. "value": "PT6H"
  3650. },
  3651. {
  3652. "text": "12 hours",
  3653. "value": "PT12H"
  3654. },
  3655. {
  3656. "text": "1 day",
  3657. "value": "P1D"
  3658. }
  3659. ],
  3660. "top": "10"
  3661. },
  3662. "insightsAnalytics": {
  3663. "query": "",
  3664. "resultFormat": "time_series"
  3665. },
  3666. "queryType": "Azure Monitor",
  3667. "refId": "A",
  3668. "subscription": "$sub"
  3669. }
  3670. ],
  3671. "thresholds": [],
  3672. "timeFrom": null,
  3673. "timeRegions": [],
  3674. "timeShift": null,
  3675. "title": "Events Processed",
  3676. "tooltip": {
  3677. "shared": true,
  3678. "sort": 0,
  3679. "value_type": "individual"
  3680. },
  3681. "type": "graph",
  3682. "xaxis": {
  3683. "buckets": null,
  3684. "mode": "time",
  3685. "name": null,
  3686. "show": true,
  3687. "values": []
  3688. },
  3689. "yaxes": [
  3690. {
  3691. "format": "short",
  3692. "label": null,
  3693. "logBase": 1,
  3694. "max": null,
  3695. "min": null,
  3696. "show": true
  3697. },
  3698. {
  3699. "format": "short",
  3700. "label": null,
  3701. "logBase": 1,
  3702. "max": null,
  3703. "min": null,
  3704. "show": true
  3705. }
  3706. ],
  3707. "yaxis": {
  3708. "align": false,
  3709. "alignLevel": null
  3710. }
  3711. },
  3712. {
  3713. "aliasColors": {},
  3714. "bars": false,
  3715. "dashLength": 10,
  3716. "dashes": false,
  3717. "datasource": "$ds",
  3718. "fieldConfig": {
  3719. "defaults": {
  3720. "color": {},
  3721. "custom": {},
  3722. "thresholds": {
  3723. "mode": "absolute",
  3724. "steps": []
  3725. }
  3726. },
  3727. "overrides": []
  3728. },
  3729. "fill": 1,
  3730. "fillGradient": 0,
  3731. "gridPos": {
  3732. "h": 9,
  3733. "w": 12,
  3734. "x": 12,
  3735. "y": 56
  3736. },
  3737. "hiddenSeries": false,
  3738. "id": 37,
  3739. "legend": {
  3740. "avg": true,
  3741. "current": false,
  3742. "max": false,
  3743. "min": false,
  3744. "show": true,
  3745. "total": false,
  3746. "values": true
  3747. },
  3748. "lines": true,
  3749. "linewidth": 1,
  3750. "nullPointMode": "null",
  3751. "options": {
  3752. "alertThreshold": true
  3753. },
  3754. "percentage": false,
  3755. "pluginVersion": "7.4.3",
  3756. "pointradius": 2,
  3757. "points": false,
  3758. "renderer": "flot",
  3759. "seriesOverrides": [],
  3760. "spaceLength": 10,
  3761. "stack": false,
  3762. "steppedLine": false,
  3763. "targets": [
  3764. {
  3765. "appInsights": {
  3766. "dimension": [],
  3767. "metricName": "select",
  3768. "timeGrain": "auto"
  3769. },
  3770. "azureLogAnalytics": {
  3771. "query": "//change this example to create your own time series query\n<table name> //the table to query (e.g. Usage, Heartbeat, Perf)\n| where $__timeFilter(TimeGenerated) //this is a macro used to show the full chart’s time range, choose the datetime column here\n| summarize count() by <group by column>, bin(TimeGenerated, $__interval) //change “group by column” to a column in your table, such as “Computer”. The $__interval macro is used to auto-select the time grain. Can also use 1h, 5m etc.\n| order by TimeGenerated asc",
  3772. "resultFormat": "time_series",
  3773. "workspace": "657b3e91-7c0b-438b-86a5-f769445e237d"
  3774. },
  3775. "azureMonitor": {
  3776. "aggOptions": ["Average"],
  3777. "aggregation": "Average",
  3778. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  3779. "dimensionFilter": "*",
  3780. "dimensionFilters": [],
  3781. "dimensions": [
  3782. {
  3783. "text": "Component Type",
  3784. "value": "ComponentType"
  3785. },
  3786. {
  3787. "text": "Component Name",
  3788. "value": "ComponentName"
  3789. }
  3790. ],
  3791. "metricDefinition": "$ns",
  3792. "metricName": "DiscoveryLatency",
  3793. "metricNamespace": "Microsoft.Kusto/clusters",
  3794. "resourceGroup": "$rg",
  3795. "resourceName": "$resource",
  3796. "timeGrain": "auto",
  3797. "timeGrains": [
  3798. {
  3799. "text": "auto",
  3800. "value": "auto"
  3801. },
  3802. {
  3803. "text": "1 minute",
  3804. "value": "PT1M"
  3805. },
  3806. {
  3807. "text": "5 minutes",
  3808. "value": "PT5M"
  3809. },
  3810. {
  3811. "text": "15 minutes",
  3812. "value": "PT15M"
  3813. },
  3814. {
  3815. "text": "30 minutes",
  3816. "value": "PT30M"
  3817. },
  3818. {
  3819. "text": "1 hour",
  3820. "value": "PT1H"
  3821. },
  3822. {
  3823. "text": "6 hours",
  3824. "value": "PT6H"
  3825. },
  3826. {
  3827. "text": "12 hours",
  3828. "value": "PT12H"
  3829. },
  3830. {
  3831. "text": "1 day",
  3832. "value": "P1D"
  3833. }
  3834. ],
  3835. "top": "10"
  3836. },
  3837. "insightsAnalytics": {
  3838. "query": "",
  3839. "resultFormat": "time_series"
  3840. },
  3841. "queryType": "Azure Monitor",
  3842. "refId": "A",
  3843. "subscription": "$sub"
  3844. }
  3845. ],
  3846. "thresholds": [],
  3847. "timeFrom": null,
  3848. "timeRegions": [],
  3849. "timeShift": null,
  3850. "title": "Discovery Latency",
  3851. "tooltip": {
  3852. "shared": true,
  3853. "sort": 0,
  3854. "value_type": "individual"
  3855. },
  3856. "type": "graph",
  3857. "xaxis": {
  3858. "buckets": null,
  3859. "mode": "time",
  3860. "name": null,
  3861. "show": true,
  3862. "values": []
  3863. },
  3864. "yaxes": [
  3865. {
  3866. "format": "short",
  3867. "label": null,
  3868. "logBase": 1,
  3869. "max": null,
  3870. "min": null,
  3871. "show": true
  3872. },
  3873. {
  3874. "format": "short",
  3875. "label": null,
  3876. "logBase": 1,
  3877. "max": null,
  3878. "min": null,
  3879. "show": true
  3880. }
  3881. ],
  3882. "yaxis": {
  3883. "align": false,
  3884. "alignLevel": null
  3885. }
  3886. },
  3887. {
  3888. "collapsed": false,
  3889. "datasource": "$ds",
  3890. "gridPos": {
  3891. "h": 1,
  3892. "w": 24,
  3893. "x": 0,
  3894. "y": 65
  3895. },
  3896. "id": 40,
  3897. "panels": [],
  3898. "title": "Usage",
  3899. "type": "row"
  3900. },
  3901. {
  3902. "datasource": "$ds",
  3903. "fieldConfig": {
  3904. "defaults": {
  3905. "color": {
  3906. "mode": "thresholds"
  3907. },
  3908. "custom": {
  3909. "align": null,
  3910. "filterable": false
  3911. },
  3912. "mappings": [],
  3913. "thresholds": {
  3914. "mode": "absolute",
  3915. "steps": []
  3916. }
  3917. },
  3918. "overrides": []
  3919. },
  3920. "gridPos": {
  3921. "h": 4,
  3922. "w": 14,
  3923. "x": 0,
  3924. "y": 66
  3925. },
  3926. "id": 43,
  3927. "options": {
  3928. "showHeader": true
  3929. },
  3930. "pluginVersion": "7.4.3",
  3931. "targets": [
  3932. {
  3933. "appInsights": {
  3934. "dimension": [],
  3935. "metricName": "select",
  3936. "timeGrain": "auto"
  3937. },
  3938. "azureLogAnalytics": {
  3939. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is KustoRunner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand \r\n | where TimeGenerated > datetime(2020-09-09T09:30:00Z) \r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak) \r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State, FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest'\r\n //| where totimespan(TotalCPU) > totimespan(0)\r\n | summarize TotalCPU=max(TotalCPU) \r\n , MemoryPeak=max(MemoryPeak)\r\n by User, ApplicationName, CorrelationId \r\n;\r\nlet totalCPU = toscalar(dataset\r\n | summarize sum((totimespan(TotalCPU) / 1s)));\r\nlet totalMemory = toscalar(dataset\r\n | summarize sum(MemoryPeak));\r\nlet topMemory = \r\n dataset\r\n | top-nested 10000 of User with others=\"Others\" by sum(MemoryPeak), top-nested 10000 of ApplicationName with others=\"Others\" by sum(MemoryPeak)\r\n | extend PercentOfTotalClusterMemoryUsed = aggregated_ApplicationName / toreal(totalMemory)\r\n;\r\nlet topCpu = \r\n dataset\r\n | top-nested 10000 of User with others=\"Others\" by sum(totimespan(TotalCPU) / 1s), top-nested 10000 of ApplicationName with others=\"Others\" by sum(totimespan(TotalCPU) / 1s)\r\n | extend PercentOfTotalClusterCpuUsed = aggregated_ApplicationName / toreal(totalCPU)\r\n;\r\ntopMemory\r\n| join kind = fullouter(topCpu) on User, ApplicationName\r\n| extend BothPercentages = PercentOfTotalClusterMemoryUsed + PercentOfTotalClusterCpuUsed\r\n| top 10 by BothPercentages desc\r\n| extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n ApplicationName == \"KustoQueryRunner\", strcat(\"Kusto Query Runner \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters \r\n User)\r\n| extend PercentOfTotalClusterMemoryUsed_display = iff(isnan(PercentOfTotalClusterMemoryUsed * 100), toreal(0), PercentOfTotalClusterMemoryUsed * 100)\r\n| extend PercentOfTotalClusterCpuUsed_display = iff(isnan(PercentOfTotalClusterCpuUsed * 100), toreal(0), PercentOfTotalClusterCpuUsed * 100)\r\n| where not (ApplicationName == \"Others\" and PercentOfTotalClusterMemoryUsed_display == 0 and PercentOfTotalClusterCpuUsed_display == 0)\r\n| project User, ApplicationName, PercentOfTotalClusterMemoryUsed_display, PercentOfTotalClusterCpuUsed_display",
  3940. "resultFormat": "time_series",
  3941. "workspace": "$ws"
  3942. },
  3943. "azureMonitor": {
  3944. "aggOptions": ["Average"],
  3945. "aggregation": "Average",
  3946. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  3947. "dimensionFilter": "*",
  3948. "dimensionFilters": [],
  3949. "dimensions": [
  3950. {
  3951. "text": "Component Type",
  3952. "value": "ComponentType"
  3953. },
  3954. {
  3955. "text": "Component Name",
  3956. "value": "ComponentName"
  3957. }
  3958. ],
  3959. "metricDefinition": "$ns",
  3960. "metricName": "DiscoveryLatency",
  3961. "metricNamespace": "Microsoft.Kusto/clusters",
  3962. "resourceGroup": "$rg",
  3963. "resourceName": "$resource",
  3964. "timeGrain": "auto",
  3965. "timeGrains": [
  3966. {
  3967. "text": "auto",
  3968. "value": "auto"
  3969. },
  3970. {
  3971. "text": "1 minute",
  3972. "value": "PT1M"
  3973. },
  3974. {
  3975. "text": "5 minutes",
  3976. "value": "PT5M"
  3977. },
  3978. {
  3979. "text": "15 minutes",
  3980. "value": "PT15M"
  3981. },
  3982. {
  3983. "text": "30 minutes",
  3984. "value": "PT30M"
  3985. },
  3986. {
  3987. "text": "1 hour",
  3988. "value": "PT1H"
  3989. },
  3990. {
  3991. "text": "6 hours",
  3992. "value": "PT6H"
  3993. },
  3994. {
  3995. "text": "12 hours",
  3996. "value": "PT12H"
  3997. },
  3998. {
  3999. "text": "1 day",
  4000. "value": "P1D"
  4001. }
  4002. ],
  4003. "top": "10"
  4004. },
  4005. "insightsAnalytics": {
  4006. "query": "",
  4007. "resultFormat": "time_series"
  4008. },
  4009. "queryType": "Azure Log Analytics",
  4010. "refId": "A",
  4011. "subscription": "$sub"
  4012. }
  4013. ],
  4014. "timeFrom": null,
  4015. "timeShift": null,
  4016. "title": "Top resource consumers (within the CPU and memory consumption of the cluster)",
  4017. "transparent": true,
  4018. "type": "table"
  4019. },
  4020. {
  4021. "datasource": "$ds",
  4022. "fieldConfig": {
  4023. "defaults": {
  4024. "color": {
  4025. "mode": "thresholds"
  4026. },
  4027. "custom": {
  4028. "align": null,
  4029. "filterable": false
  4030. },
  4031. "mappings": [],
  4032. "thresholds": {
  4033. "mode": "absolute",
  4034. "steps": []
  4035. }
  4036. },
  4037. "overrides": []
  4038. },
  4039. "gridPos": {
  4040. "h": 4,
  4041. "w": 10,
  4042. "x": 14,
  4043. "y": 66
  4044. },
  4045. "id": 44,
  4046. "options": {
  4047. "showHeader": true
  4048. },
  4049. "pluginVersion": "7.4.3",
  4050. "targets": [
  4051. {
  4052. "appInsights": {
  4053. "dimension": [],
  4054. "metricName": "select",
  4055. "timeGrain": "auto"
  4056. },
  4057. "azureLogAnalytics": {
  4058. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest'\r\n | where CommandType != 'TableSetOrAppend'\r\n | summarize Count=count() by User, ApplicationName\r\n | project User, ApplicationName, Count\r\n | extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters\r\n User)\r\n | top 10 by Count;\r\n//| order by Count desc\r\n// <Option #1 for top-nested> | top-nested 10 of User with others=\"Other Values\" by agg_User=sum(Count) desc;\r\n// <Option #2 for top-nested>| top-nested 10 of User by agg_User=sum(Count) desc, top-nested 5 of ApplicationName with others=\"Other applications\" by agg_App=sum(Count) desc\r\n// <Option #2 for top-nested>| where not (ApplicationName == \"Other applications\" and agg_App == 0)\r\n// <Option #2 for top-nested>| project-away agg_User;\r\ndataset\r\n",
  4059. "resultFormat": "time_series",
  4060. "workspace": "$ws"
  4061. },
  4062. "azureMonitor": {
  4063. "aggOptions": ["Average"],
  4064. "aggregation": "Average",
  4065. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  4066. "dimensionFilter": "*",
  4067. "dimensionFilters": [],
  4068. "dimensions": [
  4069. {
  4070. "text": "Component Type",
  4071. "value": "ComponentType"
  4072. },
  4073. {
  4074. "text": "Component Name",
  4075. "value": "ComponentName"
  4076. }
  4077. ],
  4078. "metricDefinition": "$ns",
  4079. "metricName": "DiscoveryLatency",
  4080. "metricNamespace": "Microsoft.Kusto/clusters",
  4081. "resourceGroup": "$rg",
  4082. "resourceName": "$resource",
  4083. "timeGrain": "auto",
  4084. "timeGrains": [
  4085. {
  4086. "text": "auto",
  4087. "value": "auto"
  4088. },
  4089. {
  4090. "text": "1 minute",
  4091. "value": "PT1M"
  4092. },
  4093. {
  4094. "text": "5 minutes",
  4095. "value": "PT5M"
  4096. },
  4097. {
  4098. "text": "15 minutes",
  4099. "value": "PT15M"
  4100. },
  4101. {
  4102. "text": "30 minutes",
  4103. "value": "PT30M"
  4104. },
  4105. {
  4106. "text": "1 hour",
  4107. "value": "PT1H"
  4108. },
  4109. {
  4110. "text": "6 hours",
  4111. "value": "PT6H"
  4112. },
  4113. {
  4114. "text": "12 hours",
  4115. "value": "PT12H"
  4116. },
  4117. {
  4118. "text": "1 day",
  4119. "value": "P1D"
  4120. }
  4121. ],
  4122. "top": "10"
  4123. },
  4124. "insightsAnalytics": {
  4125. "query": "",
  4126. "resultFormat": "time_series"
  4127. },
  4128. "queryType": "Azure Log Analytics",
  4129. "refId": "A",
  4130. "subscription": "$sub"
  4131. }
  4132. ],
  4133. "timeFrom": null,
  4134. "timeShift": null,
  4135. "title": "Top principals and applications by command and query count",
  4136. "transparent": true,
  4137. "type": "table"
  4138. },
  4139. {
  4140. "datasource": "$ds",
  4141. "fieldConfig": {
  4142. "defaults": {
  4143. "color": {
  4144. "mode": "thresholds"
  4145. },
  4146. "custom": {
  4147. "align": null,
  4148. "filterable": false
  4149. },
  4150. "mappings": [],
  4151. "thresholds": {
  4152. "mode": "absolute",
  4153. "steps": []
  4154. }
  4155. },
  4156. "overrides": []
  4157. },
  4158. "gridPos": {
  4159. "h": 5,
  4160. "w": 8,
  4161. "x": 0,
  4162. "y": 70
  4163. },
  4164. "id": 38,
  4165. "options": {
  4166. "showHeader": true
  4167. },
  4168. "pluginVersion": "7.4.3",
  4169. "targets": [
  4170. {
  4171. "appInsights": {
  4172. "dimension": [],
  4173. "metricName": "select",
  4174. "timeGrain": "auto"
  4175. },
  4176. "azureLogAnalytics": {
  4177. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is KustoRunner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | extend ApplicationName = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", \"Kusto Data Management\",\r\n ApplicationName)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest'\r\n | where CommandType != 'TableSetOrAppend'\r\n | summarize Count=count() by ApplicationName\r\n | project ApplicationName, Count\r\n | order by Count desc\r\n //| top-nested 10 of User with others=\"Other Values\" by agg_User=sum(Count) desc;\r\n | top-nested 7 of ApplicationName with others=\"Other Values\" by agg_App=sum(Count) desc;\r\n//|where not (ApplicationName == \"Other applications\" and agg_App == 0)\r\n//|project-away agg_User;\r\ndataset\r\n",
  4178. "resultFormat": "time_series",
  4179. "workspace": "$ws"
  4180. },
  4181. "azureMonitor": {
  4182. "aggOptions": ["Average"],
  4183. "aggregation": "Average",
  4184. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  4185. "dimensionFilter": "*",
  4186. "dimensionFilters": [],
  4187. "dimensions": [
  4188. {
  4189. "text": "Component Type",
  4190. "value": "ComponentType"
  4191. },
  4192. {
  4193. "text": "Component Name",
  4194. "value": "ComponentName"
  4195. }
  4196. ],
  4197. "metricDefinition": "$ns",
  4198. "metricName": "DiscoveryLatency",
  4199. "metricNamespace": "Microsoft.Kusto/clusters",
  4200. "resourceGroup": "$rg",
  4201. "resourceName": "$resource",
  4202. "timeGrain": "auto",
  4203. "timeGrains": [
  4204. {
  4205. "text": "auto",
  4206. "value": "auto"
  4207. },
  4208. {
  4209. "text": "1 minute",
  4210. "value": "PT1M"
  4211. },
  4212. {
  4213. "text": "5 minutes",
  4214. "value": "PT5M"
  4215. },
  4216. {
  4217. "text": "15 minutes",
  4218. "value": "PT15M"
  4219. },
  4220. {
  4221. "text": "30 minutes",
  4222. "value": "PT30M"
  4223. },
  4224. {
  4225. "text": "1 hour",
  4226. "value": "PT1H"
  4227. },
  4228. {
  4229. "text": "6 hours",
  4230. "value": "PT6H"
  4231. },
  4232. {
  4233. "text": "12 hours",
  4234. "value": "PT12H"
  4235. },
  4236. {
  4237. "text": "1 day",
  4238. "value": "P1D"
  4239. }
  4240. ],
  4241. "top": "10"
  4242. },
  4243. "insightsAnalytics": {
  4244. "query": "",
  4245. "resultFormat": "time_series"
  4246. },
  4247. "queryType": "Azure Log Analytics",
  4248. "refId": "A",
  4249. "subscription": "$sub"
  4250. }
  4251. ],
  4252. "timeFrom": null,
  4253. "timeShift": null,
  4254. "title": "Top applications by command and query count",
  4255. "transparent": true,
  4256. "type": "table"
  4257. },
  4258. {
  4259. "datasource": "$ds",
  4260. "fieldConfig": {
  4261. "defaults": {
  4262. "color": {
  4263. "mode": "thresholds"
  4264. },
  4265. "custom": {
  4266. "align": null,
  4267. "filterable": false
  4268. },
  4269. "mappings": [],
  4270. "thresholds": {
  4271. "mode": "absolute",
  4272. "steps": []
  4273. }
  4274. },
  4275. "overrides": []
  4276. },
  4277. "gridPos": {
  4278. "h": 5,
  4279. "w": 8,
  4280. "x": 8,
  4281. "y": 70
  4282. },
  4283. "id": 41,
  4284. "options": {
  4285. "showHeader": true
  4286. },
  4287. "pluginVersion": "7.4.3",
  4288. "targets": [
  4289. {
  4290. "appInsights": {
  4291. "dimension": [],
  4292. "metricName": "select",
  4293. "timeGrain": "auto"
  4294. },
  4295. "azureLogAnalytics": {
  4296. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is KustoRunner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest'\r\n | where CommandType != 'TableSetOrAppend'\r\n | extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n ApplicationName == \"KustoQueryRunner\", strcat(\"Kusto Query Runner \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters \r\n User)\r\n | summarize Count=count() by User\r\n | project User, Count\r\n | order by Count desc\r\n | top-nested 7 of User with others=\"Other Values\" by agg_User=sum(Count) desc;\r\ndataset\r\n\r\n",
  4297. "resultFormat": "time_series",
  4298. "workspace": "$ws"
  4299. },
  4300. "azureMonitor": {
  4301. "aggOptions": ["Average"],
  4302. "aggregation": "Average",
  4303. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  4304. "dimensionFilter": "*",
  4305. "dimensionFilters": [],
  4306. "dimensions": [
  4307. {
  4308. "text": "Component Type",
  4309. "value": "ComponentType"
  4310. },
  4311. {
  4312. "text": "Component Name",
  4313. "value": "ComponentName"
  4314. }
  4315. ],
  4316. "metricDefinition": "$ns",
  4317. "metricName": "DiscoveryLatency",
  4318. "metricNamespace": "Microsoft.Kusto/clusters",
  4319. "resourceGroup": "$rg",
  4320. "resourceName": "$resource",
  4321. "timeGrain": "auto",
  4322. "timeGrains": [
  4323. {
  4324. "text": "auto",
  4325. "value": "auto"
  4326. },
  4327. {
  4328. "text": "1 minute",
  4329. "value": "PT1M"
  4330. },
  4331. {
  4332. "text": "5 minutes",
  4333. "value": "PT5M"
  4334. },
  4335. {
  4336. "text": "15 minutes",
  4337. "value": "PT15M"
  4338. },
  4339. {
  4340. "text": "30 minutes",
  4341. "value": "PT30M"
  4342. },
  4343. {
  4344. "text": "1 hour",
  4345. "value": "PT1H"
  4346. },
  4347. {
  4348. "text": "6 hours",
  4349. "value": "PT6H"
  4350. },
  4351. {
  4352. "text": "12 hours",
  4353. "value": "PT12H"
  4354. },
  4355. {
  4356. "text": "1 day",
  4357. "value": "P1D"
  4358. }
  4359. ],
  4360. "top": "10"
  4361. },
  4362. "insightsAnalytics": {
  4363. "query": "",
  4364. "resultFormat": "time_series"
  4365. },
  4366. "queryType": "Azure Log Analytics",
  4367. "refId": "A",
  4368. "subscription": "$sub"
  4369. }
  4370. ],
  4371. "timeFrom": null,
  4372. "timeShift": null,
  4373. "title": "Top principals by command and query count",
  4374. "transparent": true,
  4375. "type": "table"
  4376. },
  4377. {
  4378. "datasource": "$ds",
  4379. "fieldConfig": {
  4380. "defaults": {
  4381. "color": {
  4382. "mode": "thresholds"
  4383. },
  4384. "custom": {
  4385. "align": null,
  4386. "filterable": false
  4387. },
  4388. "mappings": [],
  4389. "thresholds": {
  4390. "mode": "absolute",
  4391. "steps": []
  4392. }
  4393. },
  4394. "overrides": []
  4395. },
  4396. "gridPos": {
  4397. "h": 5,
  4398. "w": 8,
  4399. "x": 16,
  4400. "y": 70
  4401. },
  4402. "id": 42,
  4403. "options": {
  4404. "showHeader": true
  4405. },
  4406. "pluginVersion": "7.4.3",
  4407. "targets": [
  4408. {
  4409. "appInsights": {
  4410. "dimension": [],
  4411. "metricName": "select",
  4412. "timeGrain": "auto"
  4413. },
  4414. "azureLogAnalytics": {
  4415. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is KustoRunner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest'\r\n | where CommandType != 'TableSetOrAppend'\r\n | summarize Count=count() by CommandType\r\n | project CommandType, Count\r\n | order by Count desc\r\n | top-nested 7 of CommandType with others=\"Other Values\" by agg_App=sum(Count) desc;\r\ndataset\r\n",
  4416. "resultFormat": "time_series",
  4417. "workspace": "$ws"
  4418. },
  4419. "azureMonitor": {
  4420. "aggOptions": ["Average"],
  4421. "aggregation": "Average",
  4422. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  4423. "dimensionFilter": "*",
  4424. "dimensionFilters": [],
  4425. "dimensions": [
  4426. {
  4427. "text": "Component Type",
  4428. "value": "ComponentType"
  4429. },
  4430. {
  4431. "text": "Component Name",
  4432. "value": "ComponentName"
  4433. }
  4434. ],
  4435. "metricDefinition": "$ns",
  4436. "metricName": "DiscoveryLatency",
  4437. "metricNamespace": "Microsoft.Kusto/clusters",
  4438. "resourceGroup": "$rg",
  4439. "resourceName": "$resource",
  4440. "timeGrain": "auto",
  4441. "timeGrains": [
  4442. {
  4443. "text": "auto",
  4444. "value": "auto"
  4445. },
  4446. {
  4447. "text": "1 minute",
  4448. "value": "PT1M"
  4449. },
  4450. {
  4451. "text": "5 minutes",
  4452. "value": "PT5M"
  4453. },
  4454. {
  4455. "text": "15 minutes",
  4456. "value": "PT15M"
  4457. },
  4458. {
  4459. "text": "30 minutes",
  4460. "value": "PT30M"
  4461. },
  4462. {
  4463. "text": "1 hour",
  4464. "value": "PT1H"
  4465. },
  4466. {
  4467. "text": "6 hours",
  4468. "value": "PT6H"
  4469. },
  4470. {
  4471. "text": "12 hours",
  4472. "value": "PT12H"
  4473. },
  4474. {
  4475. "text": "1 day",
  4476. "value": "P1D"
  4477. }
  4478. ],
  4479. "top": "10"
  4480. },
  4481. "insightsAnalytics": {
  4482. "query": "",
  4483. "resultFormat": "time_series"
  4484. },
  4485. "queryType": "Azure Log Analytics",
  4486. "refId": "A",
  4487. "subscription": "$sub"
  4488. }
  4489. ],
  4490. "timeFrom": null,
  4491. "timeShift": null,
  4492. "title": "Queries and top commands by command type",
  4493. "transparent": true,
  4494. "type": "table"
  4495. },
  4496. {
  4497. "datasource": "$ds",
  4498. "fieldConfig": {
  4499. "defaults": {
  4500. "color": {
  4501. "mode": "thresholds"
  4502. },
  4503. "custom": {
  4504. "align": null,
  4505. "filterable": false
  4506. },
  4507. "mappings": [],
  4508. "thresholds": {
  4509. "mode": "absolute",
  4510. "steps": []
  4511. }
  4512. },
  4513. "overrides": []
  4514. },
  4515. "gridPos": {
  4516. "h": 4,
  4517. "w": 14,
  4518. "x": 0,
  4519. "y": 75
  4520. },
  4521. "id": 45,
  4522. "options": {
  4523. "showHeader": true
  4524. },
  4525. "pluginVersion": "7.4.3",
  4526. "targets": [
  4527. {
  4528. "appInsights": {
  4529. "dimension": [],
  4530. "metricName": "select",
  4531. "timeGrain": "auto"
  4532. },
  4533. "azureLogAnalytics": {
  4534. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is KustoRunner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | where TimeGenerated > ago(17d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where TimeGenerated > ago(17d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest';\r\nlet FullList = dataset\r\n | where CommandType != 'TableSetOrAppend';\r\nlet Last24Hours =\r\n FullList\r\n | where StartedOn >= ago(1d) and StartedOn < now()\r\n | summarize Count=count() by User, ApplicationName\r\n | top 100 by Count desc\r\n;\r\nlet HistoricalDailyAverage =\r\n FullList\r\n | where StartedOn >= ago(16d) and StartedOn < ago(1d)\r\n | summarize Count=count() / 15.0 by User, ApplicationName\r\n | top 100 by Count desc\r\n;\r\nlet TimeRangeComparison =\r\n Last24Hours\r\n | join kind=leftouter (HistoricalDailyAverage) on User, ApplicationName\r\n | project User=coalesce(User, User1), ApplicationName, Last24Hours=Count, HistoricalDailyAverage=round(Count1, 0)\r\n | extend PercentChange=round((Last24Hours - HistoricalDailyAverage) / toreal(HistoricalDailyAverage), 2)\r\n | top 10 by Last24Hours desc\r\n;\r\nTimeRangeComparison\r\n| extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n ApplicationName == \"KustoQueryRunner\", strcat(\"Kusto Query Runner \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters \r\n User)\r\n| project User, ApplicationName, HistoricalDailyAverage=round(HistoricalDailyAverage, 0), Last24Hours, PercentChange\r\n| order by Last24Hours desc",
  4535. "resultFormat": "time_series",
  4536. "workspace": "$ws"
  4537. },
  4538. "azureMonitor": {
  4539. "aggOptions": ["Average"],
  4540. "aggregation": "Average",
  4541. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  4542. "dimensionFilter": "*",
  4543. "dimensionFilters": [],
  4544. "dimensions": [
  4545. {
  4546. "text": "Component Type",
  4547. "value": "ComponentType"
  4548. },
  4549. {
  4550. "text": "Component Name",
  4551. "value": "ComponentName"
  4552. }
  4553. ],
  4554. "metricDefinition": "$ns",
  4555. "metricName": "DiscoveryLatency",
  4556. "metricNamespace": "Microsoft.Kusto/clusters",
  4557. "resourceGroup": "$rg",
  4558. "resourceName": "$resource",
  4559. "timeGrain": "auto",
  4560. "timeGrains": [
  4561. {
  4562. "text": "auto",
  4563. "value": "auto"
  4564. },
  4565. {
  4566. "text": "1 minute",
  4567. "value": "PT1M"
  4568. },
  4569. {
  4570. "text": "5 minutes",
  4571. "value": "PT5M"
  4572. },
  4573. {
  4574. "text": "15 minutes",
  4575. "value": "PT15M"
  4576. },
  4577. {
  4578. "text": "30 minutes",
  4579. "value": "PT30M"
  4580. },
  4581. {
  4582. "text": "1 hour",
  4583. "value": "PT1H"
  4584. },
  4585. {
  4586. "text": "6 hours",
  4587. "value": "PT6H"
  4588. },
  4589. {
  4590. "text": "12 hours",
  4591. "value": "PT12H"
  4592. },
  4593. {
  4594. "text": "1 day",
  4595. "value": "P1D"
  4596. }
  4597. ],
  4598. "top": "10"
  4599. },
  4600. "insightsAnalytics": {
  4601. "query": "",
  4602. "resultFormat": "time_series"
  4603. },
  4604. "queryType": "Azure Log Analytics",
  4605. "refId": "A",
  4606. "subscription": "$sub"
  4607. }
  4608. ],
  4609. "timeFrom": null,
  4610. "timeShift": null,
  4611. "title": "Changes in query count by principal (not affected by the the time range parameter)",
  4612. "transparent": true,
  4613. "type": "table"
  4614. },
  4615. {
  4616. "datasource": "$ds",
  4617. "fieldConfig": {
  4618. "defaults": {
  4619. "color": {
  4620. "mode": "thresholds"
  4621. },
  4622. "custom": {
  4623. "align": null,
  4624. "filterable": false
  4625. },
  4626. "mappings": [],
  4627. "thresholds": {
  4628. "mode": "absolute",
  4629. "steps": []
  4630. }
  4631. },
  4632. "overrides": []
  4633. },
  4634. "gridPos": {
  4635. "h": 4,
  4636. "w": 10,
  4637. "x": 14,
  4638. "y": 75
  4639. },
  4640. "id": 46,
  4641. "options": {
  4642. "showHeader": true
  4643. },
  4644. "pluginVersion": "7.4.3",
  4645. "targets": [
  4646. {
  4647. "appInsights": {
  4648. "dimension": [],
  4649. "metricName": "select",
  4650. "timeGrain": "auto"
  4651. },
  4652. "azureLogAnalytics": {
  4653. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Quert Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where LastUpdatedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest';\r\ndataset\r\n| where CommandType != 'TableSetOrAppend' and State == 'Failed'\r\n| summarize Count=count() by User, ApplicationName\r\n| top 10 by Count desc\r\n| extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n ApplicationName == \"KustoQueryRunner\", strcat(\"Kusto Query Runner \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters \r\n User)\r\n| order by Count desc\r\n",
  4654. "resultFormat": "time_series",
  4655. "workspace": "$ws"
  4656. },
  4657. "azureMonitor": {
  4658. "aggOptions": ["Average"],
  4659. "aggregation": "Average",
  4660. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  4661. "dimensionFilter": "*",
  4662. "dimensionFilters": [],
  4663. "dimensions": [
  4664. {
  4665. "text": "Component Type",
  4666. "value": "ComponentType"
  4667. },
  4668. {
  4669. "text": "Component Name",
  4670. "value": "ComponentName"
  4671. }
  4672. ],
  4673. "metricDefinition": "$ns",
  4674. "metricName": "DiscoveryLatency",
  4675. "metricNamespace": "Microsoft.Kusto/clusters",
  4676. "resourceGroup": "$rg",
  4677. "resourceName": "$resource",
  4678. "timeGrain": "auto",
  4679. "timeGrains": [
  4680. {
  4681. "text": "auto",
  4682. "value": "auto"
  4683. },
  4684. {
  4685. "text": "1 minute",
  4686. "value": "PT1M"
  4687. },
  4688. {
  4689. "text": "5 minutes",
  4690. "value": "PT5M"
  4691. },
  4692. {
  4693. "text": "15 minutes",
  4694. "value": "PT15M"
  4695. },
  4696. {
  4697. "text": "30 minutes",
  4698. "value": "PT30M"
  4699. },
  4700. {
  4701. "text": "1 hour",
  4702. "value": "PT1H"
  4703. },
  4704. {
  4705. "text": "6 hours",
  4706. "value": "PT6H"
  4707. },
  4708. {
  4709. "text": "12 hours",
  4710. "value": "PT12H"
  4711. },
  4712. {
  4713. "text": "1 day",
  4714. "value": "P1D"
  4715. }
  4716. ],
  4717. "top": "10"
  4718. },
  4719. "insightsAnalytics": {
  4720. "query": "",
  4721. "resultFormat": "time_series"
  4722. },
  4723. "queryType": "Azure Log Analytics",
  4724. "refId": "A",
  4725. "subscription": "$sub"
  4726. }
  4727. ],
  4728. "timeFrom": null,
  4729. "timeShift": null,
  4730. "title": "Failed queries",
  4731. "transparent": true,
  4732. "type": "table"
  4733. },
  4734. {
  4735. "aliasColors": {},
  4736. "bars": false,
  4737. "dashLength": 10,
  4738. "dashes": false,
  4739. "datasource": "$ds",
  4740. "fieldConfig": {
  4741. "defaults": {
  4742. "color": {},
  4743. "custom": {},
  4744. "thresholds": {
  4745. "mode": "absolute",
  4746. "steps": []
  4747. }
  4748. },
  4749. "overrides": []
  4750. },
  4751. "fill": 1,
  4752. "fillGradient": 0,
  4753. "gridPos": {
  4754. "h": 10,
  4755. "w": 8,
  4756. "x": 0,
  4757. "y": 79
  4758. },
  4759. "hiddenSeries": false,
  4760. "id": 47,
  4761. "legend": {
  4762. "avg": false,
  4763. "current": false,
  4764. "max": false,
  4765. "min": false,
  4766. "show": true,
  4767. "total": true,
  4768. "values": true
  4769. },
  4770. "lines": true,
  4771. "linewidth": 1,
  4772. "nullPointMode": "null",
  4773. "options": {
  4774. "alertThreshold": true
  4775. },
  4776. "percentage": false,
  4777. "pluginVersion": "7.4.3",
  4778. "pointradius": 2,
  4779. "points": false,
  4780. "renderer": "flot",
  4781. "seriesOverrides": [],
  4782. "spaceLength": 10,
  4783. "stack": false,
  4784. "steppedLine": false,
  4785. "targets": [
  4786. {
  4787. "appInsights": {
  4788. "dimension": [],
  4789. "metricName": "select",
  4790. "timeGrain": "auto"
  4791. },
  4792. "azureLogAnalytics": {
  4793. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest';\r\nlet FullList = dataset\r\n | where CommandType != 'TableSetOrAppend'\r\n | project User, StartedOn, ApplicationName, CommandType\r\n;\r\nlet Top =\r\n dataset\r\n | summarize Count=count() by User\r\n | top 10 by Count desc\r\n | extend OriginalUser = User\r\n | extend Category=User\r\n;\r\nFullList\r\n| join kind=leftouter(Top) on $left.User == $right.OriginalUser\r\n| project User=coalesce(Category, 'Other'), ApplicationName, CommandType, StartedOn\r\n| extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n ApplicationName == \"KustoQueryRunner\", strcat(\"Kusto Query Runner \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters \r\n User)\r\n| summarize count() by User, bin(StartedOn, 1h)\r\n| summarize sum(count_) by bin(StartedOn, 1h), tostring(User)\r\n| sort by StartedOn asc",
  4794. "resultFormat": "time_series",
  4795. "workspace": "$ws"
  4796. },
  4797. "azureMonitor": {
  4798. "aggOptions": ["Average"],
  4799. "aggregation": "Average",
  4800. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  4801. "dimensionFilter": "*",
  4802. "dimensionFilters": [],
  4803. "dimensions": [
  4804. {
  4805. "text": "Component Type",
  4806. "value": "ComponentType"
  4807. },
  4808. {
  4809. "text": "Component Name",
  4810. "value": "ComponentName"
  4811. }
  4812. ],
  4813. "metricDefinition": "$ns",
  4814. "metricName": "DiscoveryLatency",
  4815. "metricNamespace": "Microsoft.Kusto/clusters",
  4816. "resourceGroup": "$rg",
  4817. "resourceName": "$resource",
  4818. "timeGrain": "auto",
  4819. "timeGrains": [
  4820. {
  4821. "text": "auto",
  4822. "value": "auto"
  4823. },
  4824. {
  4825. "text": "1 minute",
  4826. "value": "PT1M"
  4827. },
  4828. {
  4829. "text": "5 minutes",
  4830. "value": "PT5M"
  4831. },
  4832. {
  4833. "text": "15 minutes",
  4834. "value": "PT15M"
  4835. },
  4836. {
  4837. "text": "30 minutes",
  4838. "value": "PT30M"
  4839. },
  4840. {
  4841. "text": "1 hour",
  4842. "value": "PT1H"
  4843. },
  4844. {
  4845. "text": "6 hours",
  4846. "value": "PT6H"
  4847. },
  4848. {
  4849. "text": "12 hours",
  4850. "value": "PT12H"
  4851. },
  4852. {
  4853. "text": "1 day",
  4854. "value": "P1D"
  4855. }
  4856. ],
  4857. "top": "10"
  4858. },
  4859. "insightsAnalytics": {
  4860. "query": "",
  4861. "resultFormat": "time_series"
  4862. },
  4863. "queryType": "Azure Log Analytics",
  4864. "refId": "A",
  4865. "subscription": "$sub"
  4866. }
  4867. ],
  4868. "thresholds": [],
  4869. "timeFrom": null,
  4870. "timeRegions": [],
  4871. "timeShift": null,
  4872. "title": "Command + query count by principal",
  4873. "tooltip": {
  4874. "shared": true,
  4875. "sort": 0,
  4876. "value_type": "individual"
  4877. },
  4878. "transparent": true,
  4879. "type": "graph",
  4880. "xaxis": {
  4881. "buckets": null,
  4882. "mode": "time",
  4883. "name": null,
  4884. "show": true,
  4885. "values": []
  4886. },
  4887. "yaxes": [
  4888. {
  4889. "format": "short",
  4890. "label": null,
  4891. "logBase": 1,
  4892. "max": null,
  4893. "min": null,
  4894. "show": true
  4895. },
  4896. {
  4897. "format": "short",
  4898. "label": null,
  4899. "logBase": 1,
  4900. "max": null,
  4901. "min": null,
  4902. "show": true
  4903. }
  4904. ],
  4905. "yaxis": {
  4906. "align": false,
  4907. "alignLevel": null
  4908. }
  4909. },
  4910. {
  4911. "aliasColors": {},
  4912. "bars": false,
  4913. "dashLength": 10,
  4914. "dashes": false,
  4915. "datasource": "$ds",
  4916. "fieldConfig": {
  4917. "defaults": {
  4918. "color": {},
  4919. "custom": {},
  4920. "thresholds": {
  4921. "mode": "absolute",
  4922. "steps": []
  4923. }
  4924. },
  4925. "overrides": []
  4926. },
  4927. "fill": 1,
  4928. "fillGradient": 0,
  4929. "gridPos": {
  4930. "h": 10,
  4931. "w": 8,
  4932. "x": 8,
  4933. "y": 79
  4934. },
  4935. "hiddenSeries": false,
  4936. "id": 48,
  4937. "legend": {
  4938. "avg": false,
  4939. "current": false,
  4940. "max": false,
  4941. "min": false,
  4942. "show": true,
  4943. "total": true,
  4944. "values": true
  4945. },
  4946. "lines": true,
  4947. "linewidth": 1,
  4948. "nullPointMode": "null",
  4949. "options": {
  4950. "alertThreshold": true
  4951. },
  4952. "percentage": false,
  4953. "pluginVersion": "7.4.3",
  4954. "pointradius": 2,
  4955. "points": false,
  4956. "renderer": "flot",
  4957. "seriesOverrides": [],
  4958. "spaceLength": 10,
  4959. "stack": false,
  4960. "steppedLine": false,
  4961. "targets": [
  4962. {
  4963. "appInsights": {
  4964. "dimension": [],
  4965. "metricName": "select",
  4966. "timeGrain": "auto"
  4967. },
  4968. "azureLogAnalytics": {
  4969. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest';\r\nlet FullList = dataset\r\n | where CommandType != 'TableSetOrAppend'\r\n | project User, ApplicationName, CommandType, StartedOn, MemoryPeak\r\n | extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n ApplicationName == \"KustoQueryRunner\", strcat(\"Kusto Query Runner \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters \r\n User)\r\n;\r\nlet Top =\r\n FullList\r\n | summarize Memory=sum(MemoryPeak) by User\r\n | top 10 by Memory desc\r\n | extend OriginalUser = User\r\n | project OriginalUser, Category=User\r\n;\r\nFullList\r\n| join kind=leftouter(Top) on $left.User == $right.OriginalUser\r\n| project User=coalesce(Category, 'Other'), StartedOn, MemoryPeakGB=MemoryPeak / 1024.0 / 1024.0 / 1024.0\r\n| summarize MemoryPeakGB=sum(MemoryPeakGB) by User, bin(StartedOn, 1h)\r\n| summarize sum(MemoryPeakGB) by bin(StartedOn, 1h), tostring(User)\r\n| sort by StartedOn asc",
  4970. "resultFormat": "time_series",
  4971. "workspace": "$ws"
  4972. },
  4973. "azureMonitor": {
  4974. "aggOptions": ["Average"],
  4975. "aggregation": "Average",
  4976. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  4977. "dimensionFilter": "*",
  4978. "dimensionFilters": [],
  4979. "dimensions": [
  4980. {
  4981. "text": "Component Type",
  4982. "value": "ComponentType"
  4983. },
  4984. {
  4985. "text": "Component Name",
  4986. "value": "ComponentName"
  4987. }
  4988. ],
  4989. "metricDefinition": "$ns",
  4990. "metricName": "DiscoveryLatency",
  4991. "metricNamespace": "Microsoft.Kusto/clusters",
  4992. "resourceGroup": "$rg",
  4993. "resourceName": "$resource",
  4994. "timeGrain": "auto",
  4995. "timeGrains": [
  4996. {
  4997. "text": "auto",
  4998. "value": "auto"
  4999. },
  5000. {
  5001. "text": "1 minute",
  5002. "value": "PT1M"
  5003. },
  5004. {
  5005. "text": "5 minutes",
  5006. "value": "PT5M"
  5007. },
  5008. {
  5009. "text": "15 minutes",
  5010. "value": "PT15M"
  5011. },
  5012. {
  5013. "text": "30 minutes",
  5014. "value": "PT30M"
  5015. },
  5016. {
  5017. "text": "1 hour",
  5018. "value": "PT1H"
  5019. },
  5020. {
  5021. "text": "6 hours",
  5022. "value": "PT6H"
  5023. },
  5024. {
  5025. "text": "12 hours",
  5026. "value": "PT12H"
  5027. },
  5028. {
  5029. "text": "1 day",
  5030. "value": "P1D"
  5031. }
  5032. ],
  5033. "top": "10"
  5034. },
  5035. "insightsAnalytics": {
  5036. "query": "",
  5037. "resultFormat": "time_series"
  5038. },
  5039. "queryType": "Azure Log Analytics",
  5040. "refId": "A",
  5041. "subscription": "$sub"
  5042. }
  5043. ],
  5044. "thresholds": [],
  5045. "timeFrom": null,
  5046. "timeRegions": [],
  5047. "timeShift": null,
  5048. "title": "Total memory by principal",
  5049. "tooltip": {
  5050. "shared": true,
  5051. "sort": 0,
  5052. "value_type": "individual"
  5053. },
  5054. "transparent": true,
  5055. "type": "graph",
  5056. "xaxis": {
  5057. "buckets": null,
  5058. "mode": "time",
  5059. "name": null,
  5060. "show": true,
  5061. "values": []
  5062. },
  5063. "yaxes": [
  5064. {
  5065. "format": "short",
  5066. "label": null,
  5067. "logBase": 1,
  5068. "max": null,
  5069. "min": null,
  5070. "show": true
  5071. },
  5072. {
  5073. "format": "short",
  5074. "label": null,
  5075. "logBase": 1,
  5076. "max": null,
  5077. "min": null,
  5078. "show": true
  5079. }
  5080. ],
  5081. "yaxis": {
  5082. "align": false,
  5083. "alignLevel": null
  5084. }
  5085. },
  5086. {
  5087. "aliasColors": {},
  5088. "bars": false,
  5089. "dashLength": 10,
  5090. "dashes": false,
  5091. "datasource": "$ds",
  5092. "fieldConfig": {
  5093. "defaults": {
  5094. "color": {},
  5095. "custom": {},
  5096. "thresholds": {
  5097. "mode": "absolute",
  5098. "steps": []
  5099. }
  5100. },
  5101. "overrides": []
  5102. },
  5103. "fill": 1,
  5104. "fillGradient": 0,
  5105. "gridPos": {
  5106. "h": 10,
  5107. "w": 8,
  5108. "x": 16,
  5109. "y": 79
  5110. },
  5111. "hiddenSeries": false,
  5112. "id": 49,
  5113. "legend": {
  5114. "avg": true,
  5115. "current": false,
  5116. "max": false,
  5117. "min": false,
  5118. "show": true,
  5119. "total": false,
  5120. "values": true
  5121. },
  5122. "lines": true,
  5123. "linewidth": 1,
  5124. "nullPointMode": "null",
  5125. "options": {
  5126. "alertThreshold": true
  5127. },
  5128. "percentage": false,
  5129. "pluginVersion": "7.4.3",
  5130. "pointradius": 2,
  5131. "points": false,
  5132. "renderer": "flot",
  5133. "seriesOverrides": [],
  5134. "spaceLength": 10,
  5135. "stack": false,
  5136. "steppedLine": false,
  5137. "targets": [
  5138. {
  5139. "appInsights": {
  5140. "dimension": [],
  5141. "metricName": "select",
  5142. "timeGrain": "auto"
  5143. },
  5144. "azureLogAnalytics": {
  5145. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where StartedOn > ago(7d)\r\n | where cluster_name == 'mitulktest';\r\nlet FullList = dataset\r\n | where CommandType != 'TableSetOrAppend'\r\n | project User, ApplicationName, CommandType, StartedOn, TotalCPU\r\n | extend User = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", strcat(\"Kusto Data Management \", \"(\", User, \")\"),\r\n ApplicationName == \"KustoQueryRunner\", strcat(\"Kusto Query Runner \", \"(\", User, \")\"),\r\n User == \"AAD app id=e0331ea9-83fc-4409-a17d-6375364c3280\", \"DataMap Agent 001 (app id: e0331ea9-83fc-4409-a17d-6375364c3280)\", // Used for internal MS clusters \r\n User)\r\n;\r\nlet Top =\r\n FullList\r\n | summarize TotalCpu=sum(totimespan(TotalCPU)) by User\r\n | top 10 by TotalCpu desc\r\n | extend OriginalUser = User\r\n | project OriginalUser, Category=User\r\n;\r\nFullList\r\n| join kind=leftouter(Top) on $left.User == $right.OriginalUser\r\n| project User=coalesce(Category, 'Other'), StartedOn, TotalCpuMinutes=totimespan(TotalCPU) / 1m\r\n| summarize TotalCpuMinutes=sum(TotalCpuMinutes) by User, bin(StartedOn, 1h)\r\n| top-nested of bin(StartedOn, 1h) by sum(TotalCpuMinutes), top-nested 5 of User with others=\"Other Values\" by sum_TotalCpuMinutes=sum(TotalCpuMinutes) desc\r\n| sort by StartedOn asc\r\n| project StartedOn, User, sum_TotalCpuMinutes\r\n",
  5146. "resultFormat": "time_series",
  5147. "workspace": "$ws"
  5148. },
  5149. "azureMonitor": {
  5150. "aggOptions": ["Average"],
  5151. "aggregation": "Average",
  5152. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  5153. "dimensionFilter": "*",
  5154. "dimensionFilters": [],
  5155. "dimensions": [
  5156. {
  5157. "text": "Component Type",
  5158. "value": "ComponentType"
  5159. },
  5160. {
  5161. "text": "Component Name",
  5162. "value": "ComponentName"
  5163. }
  5164. ],
  5165. "metricDefinition": "$ns",
  5166. "metricName": "DiscoveryLatency",
  5167. "metricNamespace": "Microsoft.Kusto/clusters",
  5168. "resourceGroup": "$rg",
  5169. "resourceName": "$resource",
  5170. "timeGrain": "auto",
  5171. "timeGrains": [
  5172. {
  5173. "text": "auto",
  5174. "value": "auto"
  5175. },
  5176. {
  5177. "text": "1 minute",
  5178. "value": "PT1M"
  5179. },
  5180. {
  5181. "text": "5 minutes",
  5182. "value": "PT5M"
  5183. },
  5184. {
  5185. "text": "15 minutes",
  5186. "value": "PT15M"
  5187. },
  5188. {
  5189. "text": "30 minutes",
  5190. "value": "PT30M"
  5191. },
  5192. {
  5193. "text": "1 hour",
  5194. "value": "PT1H"
  5195. },
  5196. {
  5197. "text": "6 hours",
  5198. "value": "PT6H"
  5199. },
  5200. {
  5201. "text": "12 hours",
  5202. "value": "PT12H"
  5203. },
  5204. {
  5205. "text": "1 day",
  5206. "value": "P1D"
  5207. }
  5208. ],
  5209. "top": "10"
  5210. },
  5211. "insightsAnalytics": {
  5212. "query": "",
  5213. "resultFormat": "time_series"
  5214. },
  5215. "queryType": "Azure Log Analytics",
  5216. "refId": "A",
  5217. "subscription": "$sub"
  5218. }
  5219. ],
  5220. "thresholds": [],
  5221. "timeFrom": null,
  5222. "timeRegions": [],
  5223. "timeShift": null,
  5224. "title": "Total CPU by principal",
  5225. "tooltip": {
  5226. "shared": true,
  5227. "sort": 0,
  5228. "value_type": "individual"
  5229. },
  5230. "transparent": true,
  5231. "type": "graph",
  5232. "xaxis": {
  5233. "buckets": null,
  5234. "mode": "time",
  5235. "name": null,
  5236. "show": true,
  5237. "values": []
  5238. },
  5239. "yaxes": [
  5240. {
  5241. "format": "short",
  5242. "label": null,
  5243. "logBase": 1,
  5244. "max": null,
  5245. "min": null,
  5246. "show": true
  5247. },
  5248. {
  5249. "format": "short",
  5250. "label": null,
  5251. "logBase": 1,
  5252. "max": null,
  5253. "min": null,
  5254. "show": true
  5255. }
  5256. ],
  5257. "yaxis": {
  5258. "align": false,
  5259. "alignLevel": null
  5260. }
  5261. },
  5262. {
  5263. "aliasColors": {},
  5264. "bars": false,
  5265. "dashLength": 10,
  5266. "dashes": false,
  5267. "datasource": "$ds",
  5268. "fieldConfig": {
  5269. "defaults": {
  5270. "color": {},
  5271. "custom": {},
  5272. "thresholds": {
  5273. "mode": "absolute",
  5274. "steps": []
  5275. }
  5276. },
  5277. "overrides": []
  5278. },
  5279. "fill": 1,
  5280. "fillGradient": 0,
  5281. "gridPos": {
  5282. "h": 10,
  5283. "w": 8,
  5284. "x": 0,
  5285. "y": 89
  5286. },
  5287. "hiddenSeries": false,
  5288. "id": 51,
  5289. "legend": {
  5290. "avg": false,
  5291. "current": false,
  5292. "max": false,
  5293. "min": false,
  5294. "show": true,
  5295. "total": true,
  5296. "values": true
  5297. },
  5298. "lines": true,
  5299. "linewidth": 1,
  5300. "nullPointMode": "null",
  5301. "options": {
  5302. "alertThreshold": true
  5303. },
  5304. "percentage": false,
  5305. "pluginVersion": "7.4.3",
  5306. "pointradius": 2,
  5307. "points": false,
  5308. "renderer": "flot",
  5309. "seriesOverrides": [],
  5310. "spaceLength": 10,
  5311. "stack": false,
  5312. "steppedLine": false,
  5313. "targets": [
  5314. {
  5315. "appInsights": {
  5316. "dimension": [],
  5317. "metricName": "select",
  5318. "timeGrain": "auto"
  5319. },
  5320. "azureLogAnalytics": {
  5321. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | extend ApplicationName = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", \"Kusto Data Management\", ApplicationName)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest';\r\nlet FullList = dataset\r\n | where CommandType != 'TableSetOrAppend'\r\n | project ApplicationName, StartedOn, CommandType, User\r\n;\r\nlet Top =\r\n FullList\r\n | summarize Count=count() by ApplicationName\r\n | top 10 by Count desc\r\n | extend Category=ApplicationName\r\n;\r\nFullList\r\n| join kind=leftouter(Top) on ApplicationName \r\n| project Application=coalesce(Category, '-'), CommandType, User, StartedOn\r\n| summarize count() by Application, bin(StartedOn, 1h)\r\n| summarize sum(count_) by bin(StartedOn, time(1h)), tostring(Application)\r\n| sort by StartedOn asc\r\n",
  5322. "resultFormat": "time_series",
  5323. "workspace": "$ws"
  5324. },
  5325. "azureMonitor": {
  5326. "aggOptions": ["Average"],
  5327. "aggregation": "Average",
  5328. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  5329. "dimensionFilter": "*",
  5330. "dimensionFilters": [],
  5331. "dimensions": [
  5332. {
  5333. "text": "Component Type",
  5334. "value": "ComponentType"
  5335. },
  5336. {
  5337. "text": "Component Name",
  5338. "value": "ComponentName"
  5339. }
  5340. ],
  5341. "metricDefinition": "$ns",
  5342. "metricName": "DiscoveryLatency",
  5343. "metricNamespace": "Microsoft.Kusto/clusters",
  5344. "resourceGroup": "$rg",
  5345. "resourceName": "$resource",
  5346. "timeGrain": "auto",
  5347. "timeGrains": [
  5348. {
  5349. "text": "auto",
  5350. "value": "auto"
  5351. },
  5352. {
  5353. "text": "1 minute",
  5354. "value": "PT1M"
  5355. },
  5356. {
  5357. "text": "5 minutes",
  5358. "value": "PT5M"
  5359. },
  5360. {
  5361. "text": "15 minutes",
  5362. "value": "PT15M"
  5363. },
  5364. {
  5365. "text": "30 minutes",
  5366. "value": "PT30M"
  5367. },
  5368. {
  5369. "text": "1 hour",
  5370. "value": "PT1H"
  5371. },
  5372. {
  5373. "text": "6 hours",
  5374. "value": "PT6H"
  5375. },
  5376. {
  5377. "text": "12 hours",
  5378. "value": "PT12H"
  5379. },
  5380. {
  5381. "text": "1 day",
  5382. "value": "P1D"
  5383. }
  5384. ],
  5385. "top": "10"
  5386. },
  5387. "insightsAnalytics": {
  5388. "query": "",
  5389. "resultFormat": "time_series"
  5390. },
  5391. "queryType": "Azure Log Analytics",
  5392. "refId": "A",
  5393. "subscription": "$sub"
  5394. }
  5395. ],
  5396. "thresholds": [],
  5397. "timeFrom": null,
  5398. "timeRegions": [],
  5399. "timeShift": null,
  5400. "title": "Command + query count by application",
  5401. "tooltip": {
  5402. "shared": true,
  5403. "sort": 0,
  5404. "value_type": "individual"
  5405. },
  5406. "transparent": true,
  5407. "type": "graph",
  5408. "xaxis": {
  5409. "buckets": null,
  5410. "mode": "time",
  5411. "name": null,
  5412. "show": true,
  5413. "values": []
  5414. },
  5415. "yaxes": [
  5416. {
  5417. "format": "short",
  5418. "label": null,
  5419. "logBase": 1,
  5420. "max": null,
  5421. "min": null,
  5422. "show": true
  5423. },
  5424. {
  5425. "format": "short",
  5426. "label": null,
  5427. "logBase": 1,
  5428. "max": null,
  5429. "min": null,
  5430. "show": true
  5431. }
  5432. ],
  5433. "yaxis": {
  5434. "align": false,
  5435. "alignLevel": null
  5436. }
  5437. },
  5438. {
  5439. "aliasColors": {},
  5440. "bars": false,
  5441. "dashLength": 10,
  5442. "dashes": false,
  5443. "datasource": "$ds",
  5444. "fieldConfig": {
  5445. "defaults": {
  5446. "color": {},
  5447. "custom": {},
  5448. "thresholds": {
  5449. "mode": "absolute",
  5450. "steps": []
  5451. }
  5452. },
  5453. "overrides": []
  5454. },
  5455. "fill": 1,
  5456. "fillGradient": 0,
  5457. "gridPos": {
  5458. "h": 10,
  5459. "w": 8,
  5460. "x": 8,
  5461. "y": 89
  5462. },
  5463. "hiddenSeries": false,
  5464. "id": 52,
  5465. "legend": {
  5466. "avg": false,
  5467. "current": false,
  5468. "max": false,
  5469. "min": false,
  5470. "show": true,
  5471. "total": true,
  5472. "values": true
  5473. },
  5474. "lines": true,
  5475. "linewidth": 1,
  5476. "nullPointMode": "null",
  5477. "options": {
  5478. "alertThreshold": true
  5479. },
  5480. "percentage": false,
  5481. "pluginVersion": "7.4.3",
  5482. "pointradius": 2,
  5483. "points": false,
  5484. "renderer": "flot",
  5485. "seriesOverrides": [],
  5486. "spaceLength": 10,
  5487. "stack": false,
  5488. "steppedLine": false,
  5489. "targets": [
  5490. {
  5491. "appInsights": {
  5492. "dimension": [],
  5493. "metricName": "select",
  5494. "timeGrain": "auto"
  5495. },
  5496. "azureLogAnalytics": {
  5497. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak) \r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | extend ApplicationName = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", \"Kusto Data Management\", ApplicationName)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest';\r\nlet FullList = dataset\r\n | where CommandType != 'TableSetOrAppend'\r\n | project ApplicationName, StartedOn, CommandType, User, MemoryPeak\r\n;\r\nlet Top =\r\n FullList\r\n | summarize Memory=sum(MemoryPeak) by ApplicationName\r\n | top 10 by Memory desc\r\n | extend Category=ApplicationName;\r\nFullList\r\n| join kind=inner(Top) on ApplicationName\r\n| project Application=coalesce(Category, '-'), CommandType, User, StartedOn, MemoryPeakMB=MemoryPeak / 1024.0 / 1024.0\r\n| summarize MemoryPeakMB=sum(MemoryPeakMB) by Application, bin(StartedOn, 1h)\r\n| summarize sum(MemoryPeakMB) by bin(StartedOn, time(1h)), tostring(Application)\r\n| sort by StartedOn asc\r\n",
  5498. "resultFormat": "time_series",
  5499. "workspace": "$ws"
  5500. },
  5501. "azureMonitor": {
  5502. "aggOptions": ["Average"],
  5503. "aggregation": "Average",
  5504. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  5505. "dimensionFilter": "*",
  5506. "dimensionFilters": [],
  5507. "dimensions": [
  5508. {
  5509. "text": "Component Type",
  5510. "value": "ComponentType"
  5511. },
  5512. {
  5513. "text": "Component Name",
  5514. "value": "ComponentName"
  5515. }
  5516. ],
  5517. "metricDefinition": "$ns",
  5518. "metricName": "DiscoveryLatency",
  5519. "metricNamespace": "Microsoft.Kusto/clusters",
  5520. "resourceGroup": "$rg",
  5521. "resourceName": "$resource",
  5522. "timeGrain": "auto",
  5523. "timeGrains": [
  5524. {
  5525. "text": "auto",
  5526. "value": "auto"
  5527. },
  5528. {
  5529. "text": "1 minute",
  5530. "value": "PT1M"
  5531. },
  5532. {
  5533. "text": "5 minutes",
  5534. "value": "PT5M"
  5535. },
  5536. {
  5537. "text": "15 minutes",
  5538. "value": "PT15M"
  5539. },
  5540. {
  5541. "text": "30 minutes",
  5542. "value": "PT30M"
  5543. },
  5544. {
  5545. "text": "1 hour",
  5546. "value": "PT1H"
  5547. },
  5548. {
  5549. "text": "6 hours",
  5550. "value": "PT6H"
  5551. },
  5552. {
  5553. "text": "12 hours",
  5554. "value": "PT12H"
  5555. },
  5556. {
  5557. "text": "1 day",
  5558. "value": "P1D"
  5559. }
  5560. ],
  5561. "top": "10"
  5562. },
  5563. "insightsAnalytics": {
  5564. "query": "",
  5565. "resultFormat": "time_series"
  5566. },
  5567. "queryType": "Azure Log Analytics",
  5568. "refId": "A",
  5569. "subscription": "$sub"
  5570. }
  5571. ],
  5572. "thresholds": [],
  5573. "timeFrom": null,
  5574. "timeRegions": [],
  5575. "timeShift": null,
  5576. "title": "Total memory by application",
  5577. "tooltip": {
  5578. "shared": true,
  5579. "sort": 0,
  5580. "value_type": "individual"
  5581. },
  5582. "transparent": true,
  5583. "type": "graph",
  5584. "xaxis": {
  5585. "buckets": null,
  5586. "mode": "time",
  5587. "name": null,
  5588. "show": true,
  5589. "values": []
  5590. },
  5591. "yaxes": [
  5592. {
  5593. "format": "short",
  5594. "label": null,
  5595. "logBase": 1,
  5596. "max": null,
  5597. "min": null,
  5598. "show": true
  5599. },
  5600. {
  5601. "format": "short",
  5602. "label": null,
  5603. "logBase": 1,
  5604. "max": null,
  5605. "min": null,
  5606. "show": true
  5607. }
  5608. ],
  5609. "yaxis": {
  5610. "align": false,
  5611. "alignLevel": null
  5612. }
  5613. },
  5614. {
  5615. "aliasColors": {},
  5616. "bars": false,
  5617. "dashLength": 10,
  5618. "dashes": false,
  5619. "datasource": "$ds",
  5620. "fieldConfig": {
  5621. "defaults": {
  5622. "color": {},
  5623. "custom": {},
  5624. "thresholds": {
  5625. "mode": "absolute",
  5626. "steps": []
  5627. }
  5628. },
  5629. "overrides": []
  5630. },
  5631. "fill": 1,
  5632. "fillGradient": 0,
  5633. "gridPos": {
  5634. "h": 10,
  5635. "w": 8,
  5636. "x": 16,
  5637. "y": 89
  5638. },
  5639. "hiddenSeries": false,
  5640. "id": 50,
  5641. "legend": {
  5642. "avg": true,
  5643. "current": false,
  5644. "max": false,
  5645. "min": false,
  5646. "show": true,
  5647. "total": false,
  5648. "values": true
  5649. },
  5650. "lines": true,
  5651. "linewidth": 1,
  5652. "nullPointMode": "null",
  5653. "options": {
  5654. "alertThreshold": true
  5655. },
  5656. "percentage": false,
  5657. "pluginVersion": "7.4.3",
  5658. "pointradius": 2,
  5659. "points": false,
  5660. "renderer": "flot",
  5661. "seriesOverrides": [],
  5662. "spaceLength": 10,
  5663. "stack": false,
  5664. "steppedLine": false,
  5665. "targets": [
  5666. {
  5667. "appInsights": {
  5668. "dimension": [],
  5669. "metricName": "select",
  5670. "timeGrain": "auto"
  5671. },
  5672. "azureLogAnalytics": {
  5673. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | extend ApplicationName = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", \"Kusto Data Management\", ApplicationName)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest';\r\nlet FullList = dataset\r\n | where CommandType != 'TableSetOrAppend'\r\n | project ApplicationName, CommandType, User, StartedOn, TotalCPU\r\n;\r\nlet Top =\r\n FullList\r\n | summarize TotalCPU=sum(totimespan(TotalCPU)) by ApplicationName\r\n | top 10 by TotalCPU desc\r\n | extend Category=ApplicationName\r\n;\r\nFullList\r\n| join kind=inner(Top) on ApplicationName\r\n| project Application=coalesce(Category, '-'), CommandType, User, StartedOn, TotalCpuMinutes=totimespan(TotalCPU) / 1m\r\n| summarize TotalCpuMinutes=sum(TotalCpuMinutes) by Application, bin(StartedOn, 1h)\r\n| summarize sum(TotalCpuMinutes) by bin(StartedOn, time(1h)), tostring(Application)\r\n| sort by StartedOn asc\r\n",
  5674. "resultFormat": "time_series",
  5675. "workspace": "$ws"
  5676. },
  5677. "azureMonitor": {
  5678. "aggOptions": ["Average"],
  5679. "aggregation": "Average",
  5680. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  5681. "dimensionFilter": "*",
  5682. "dimensionFilters": [],
  5683. "dimensions": [
  5684. {
  5685. "text": "Component Type",
  5686. "value": "ComponentType"
  5687. },
  5688. {
  5689. "text": "Component Name",
  5690. "value": "ComponentName"
  5691. }
  5692. ],
  5693. "metricDefinition": "$ns",
  5694. "metricName": "DiscoveryLatency",
  5695. "metricNamespace": "Microsoft.Kusto/clusters",
  5696. "resourceGroup": "$rg",
  5697. "resourceName": "$resource",
  5698. "timeGrain": "auto",
  5699. "timeGrains": [
  5700. {
  5701. "text": "auto",
  5702. "value": "auto"
  5703. },
  5704. {
  5705. "text": "1 minute",
  5706. "value": "PT1M"
  5707. },
  5708. {
  5709. "text": "5 minutes",
  5710. "value": "PT5M"
  5711. },
  5712. {
  5713. "text": "15 minutes",
  5714. "value": "PT15M"
  5715. },
  5716. {
  5717. "text": "30 minutes",
  5718. "value": "PT30M"
  5719. },
  5720. {
  5721. "text": "1 hour",
  5722. "value": "PT1H"
  5723. },
  5724. {
  5725. "text": "6 hours",
  5726. "value": "PT6H"
  5727. },
  5728. {
  5729. "text": "12 hours",
  5730. "value": "PT12H"
  5731. },
  5732. {
  5733. "text": "1 day",
  5734. "value": "P1D"
  5735. }
  5736. ],
  5737. "top": "10"
  5738. },
  5739. "insightsAnalytics": {
  5740. "query": "",
  5741. "resultFormat": "time_series"
  5742. },
  5743. "queryType": "Azure Log Analytics",
  5744. "refId": "A",
  5745. "subscription": "$sub"
  5746. }
  5747. ],
  5748. "thresholds": [],
  5749. "timeFrom": null,
  5750. "timeRegions": [],
  5751. "timeShift": null,
  5752. "title": "Total CPU by application",
  5753. "tooltip": {
  5754. "shared": true,
  5755. "sort": 0,
  5756. "value_type": "individual"
  5757. },
  5758. "transparent": true,
  5759. "type": "graph",
  5760. "xaxis": {
  5761. "buckets": null,
  5762. "mode": "time",
  5763. "name": null,
  5764. "show": true,
  5765. "values": []
  5766. },
  5767. "yaxes": [
  5768. {
  5769. "format": "short",
  5770. "label": null,
  5771. "logBase": 1,
  5772. "max": null,
  5773. "min": null,
  5774. "show": true
  5775. },
  5776. {
  5777. "format": "short",
  5778. "label": null,
  5779. "logBase": 1,
  5780. "max": null,
  5781. "min": null,
  5782. "show": true
  5783. }
  5784. ],
  5785. "yaxis": {
  5786. "align": false,
  5787. "alignLevel": null
  5788. }
  5789. },
  5790. {
  5791. "aliasColors": {},
  5792. "bars": false,
  5793. "dashLength": 10,
  5794. "dashes": false,
  5795. "datasource": "$ds",
  5796. "fieldConfig": {
  5797. "defaults": {
  5798. "color": {},
  5799. "custom": {},
  5800. "thresholds": {
  5801. "mode": "absolute",
  5802. "steps": []
  5803. }
  5804. },
  5805. "overrides": []
  5806. },
  5807. "fill": 1,
  5808. "fillGradient": 0,
  5809. "gridPos": {
  5810. "h": 10,
  5811. "w": 8,
  5812. "x": 0,
  5813. "y": 99
  5814. },
  5815. "hiddenSeries": false,
  5816. "id": 53,
  5817. "legend": {
  5818. "avg": false,
  5819. "current": false,
  5820. "max": false,
  5821. "min": false,
  5822. "show": true,
  5823. "total": true,
  5824. "values": true
  5825. },
  5826. "lines": true,
  5827. "linewidth": 1,
  5828. "nullPointMode": "null",
  5829. "options": {
  5830. "alertThreshold": true
  5831. },
  5832. "percentage": false,
  5833. "pluginVersion": "7.4.3",
  5834. "pointradius": 2,
  5835. "points": false,
  5836. "renderer": "flot",
  5837. "seriesOverrides": [],
  5838. "spaceLength": 10,
  5839. "stack": false,
  5840. "steppedLine": false,
  5841. "targets": [
  5842. {
  5843. "appInsights": {
  5844. "dimension": [],
  5845. "metricName": "select",
  5846. "timeGrain": "auto"
  5847. },
  5848. "azureLogAnalytics": {
  5849. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest';\r\ndataset\r\n| where CommandType != 'TableSetOrAppend' \r\n| top-nested of bin(StartedOn, time(1h)) by count(), top-nested 5 of CommandType by count_=count() desc\r\n| sort by StartedOn asc\r\n| project StartedOn, CommandType, count_\r\n",
  5850. "resultFormat": "time_series",
  5851. "workspace": "$ws"
  5852. },
  5853. "azureMonitor": {
  5854. "aggOptions": ["Average"],
  5855. "aggregation": "Average",
  5856. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  5857. "dimensionFilter": "*",
  5858. "dimensionFilters": [],
  5859. "dimensions": [
  5860. {
  5861. "text": "Component Type",
  5862. "value": "ComponentType"
  5863. },
  5864. {
  5865. "text": "Component Name",
  5866. "value": "ComponentName"
  5867. }
  5868. ],
  5869. "metricDefinition": "$ns",
  5870. "metricName": "DiscoveryLatency",
  5871. "metricNamespace": "Microsoft.Kusto/clusters",
  5872. "resourceGroup": "$rg",
  5873. "resourceName": "$resource",
  5874. "timeGrain": "auto",
  5875. "timeGrains": [
  5876. {
  5877. "text": "auto",
  5878. "value": "auto"
  5879. },
  5880. {
  5881. "text": "1 minute",
  5882. "value": "PT1M"
  5883. },
  5884. {
  5885. "text": "5 minutes",
  5886. "value": "PT5M"
  5887. },
  5888. {
  5889. "text": "15 minutes",
  5890. "value": "PT15M"
  5891. },
  5892. {
  5893. "text": "30 minutes",
  5894. "value": "PT30M"
  5895. },
  5896. {
  5897. "text": "1 hour",
  5898. "value": "PT1H"
  5899. },
  5900. {
  5901. "text": "6 hours",
  5902. "value": "PT6H"
  5903. },
  5904. {
  5905. "text": "12 hours",
  5906. "value": "PT12H"
  5907. },
  5908. {
  5909. "text": "1 day",
  5910. "value": "P1D"
  5911. }
  5912. ],
  5913. "top": "10"
  5914. },
  5915. "insightsAnalytics": {
  5916. "query": "",
  5917. "resultFormat": "time_series"
  5918. },
  5919. "queryType": "Azure Log Analytics",
  5920. "refId": "A",
  5921. "subscription": "$sub"
  5922. }
  5923. ],
  5924. "thresholds": [],
  5925. "timeFrom": null,
  5926. "timeRegions": [],
  5927. "timeShift": null,
  5928. "title": "Queries + command count by type",
  5929. "tooltip": {
  5930. "shared": true,
  5931. "sort": 0,
  5932. "value_type": "individual"
  5933. },
  5934. "transparent": true,
  5935. "type": "graph",
  5936. "xaxis": {
  5937. "buckets": null,
  5938. "mode": "time",
  5939. "name": null,
  5940. "show": true,
  5941. "values": []
  5942. },
  5943. "yaxes": [
  5944. {
  5945. "format": "short",
  5946. "label": null,
  5947. "logBase": 1,
  5948. "max": null,
  5949. "min": null,
  5950. "show": true
  5951. },
  5952. {
  5953. "format": "short",
  5954. "label": null,
  5955. "logBase": 1,
  5956. "max": null,
  5957. "min": null,
  5958. "show": true
  5959. }
  5960. ],
  5961. "yaxis": {
  5962. "align": false,
  5963. "alignLevel": null
  5964. }
  5965. },
  5966. {
  5967. "aliasColors": {},
  5968. "bars": false,
  5969. "dashLength": 10,
  5970. "dashes": false,
  5971. "datasource": "$ds",
  5972. "fieldConfig": {
  5973. "defaults": {
  5974. "color": {},
  5975. "custom": {},
  5976. "thresholds": {
  5977. "mode": "absolute",
  5978. "steps": []
  5979. }
  5980. },
  5981. "overrides": []
  5982. },
  5983. "fill": 1,
  5984. "fillGradient": 0,
  5985. "gridPos": {
  5986. "h": 10,
  5987. "w": 8,
  5988. "x": 8,
  5989. "y": 99
  5990. },
  5991. "hiddenSeries": false,
  5992. "id": 54,
  5993. "legend": {
  5994. "avg": false,
  5995. "current": false,
  5996. "max": false,
  5997. "min": false,
  5998. "show": true,
  5999. "total": true,
  6000. "values": true
  6001. },
  6002. "lines": true,
  6003. "linewidth": 1,
  6004. "nullPointMode": "null",
  6005. "options": {
  6006. "alertThreshold": true
  6007. },
  6008. "percentage": false,
  6009. "pluginVersion": "7.4.3",
  6010. "pointradius": 2,
  6011. "points": false,
  6012. "renderer": "flot",
  6013. "seriesOverrides": [],
  6014. "spaceLength": 10,
  6015. "stack": false,
  6016. "steppedLine": false,
  6017. "targets": [
  6018. {
  6019. "appInsights": {
  6020. "dimension": [],
  6021. "metricName": "select",
  6022. "timeGrain": "auto"
  6023. },
  6024. "azureLogAnalytics": {
  6025. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak) \r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest';\r\ndataset\r\n| where CommandType != 'TableSetOrAppend' \r\n| extend MemoryPeakGB=MemoryPeak / 1024.0 / 1024.0 / 1024.0\r\n| top-nested of bin(StartedOn, time(1h)) by sum(MemoryPeakGB), top-nested 5 of CommandType with others=\"Other Values\" by sum_MemoryPeakGB=sum(MemoryPeakGB) desc\r\n| sort by StartedOn asc\r\n| project StartedOn, CommandType, sum_MemoryPeakGB\r\n",
  6026. "resultFormat": "time_series",
  6027. "workspace": "$ws"
  6028. },
  6029. "azureMonitor": {
  6030. "aggOptions": ["Average"],
  6031. "aggregation": "Average",
  6032. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  6033. "dimensionFilter": "*",
  6034. "dimensionFilters": [],
  6035. "dimensions": [
  6036. {
  6037. "text": "Component Type",
  6038. "value": "ComponentType"
  6039. },
  6040. {
  6041. "text": "Component Name",
  6042. "value": "ComponentName"
  6043. }
  6044. ],
  6045. "metricDefinition": "$ns",
  6046. "metricName": "DiscoveryLatency",
  6047. "metricNamespace": "Microsoft.Kusto/clusters",
  6048. "resourceGroup": "$rg",
  6049. "resourceName": "$resource",
  6050. "timeGrain": "auto",
  6051. "timeGrains": [
  6052. {
  6053. "text": "auto",
  6054. "value": "auto"
  6055. },
  6056. {
  6057. "text": "1 minute",
  6058. "value": "PT1M"
  6059. },
  6060. {
  6061. "text": "5 minutes",
  6062. "value": "PT5M"
  6063. },
  6064. {
  6065. "text": "15 minutes",
  6066. "value": "PT15M"
  6067. },
  6068. {
  6069. "text": "30 minutes",
  6070. "value": "PT30M"
  6071. },
  6072. {
  6073. "text": "1 hour",
  6074. "value": "PT1H"
  6075. },
  6076. {
  6077. "text": "6 hours",
  6078. "value": "PT6H"
  6079. },
  6080. {
  6081. "text": "12 hours",
  6082. "value": "PT12H"
  6083. },
  6084. {
  6085. "text": "1 day",
  6086. "value": "P1D"
  6087. }
  6088. ],
  6089. "top": "10"
  6090. },
  6091. "insightsAnalytics": {
  6092. "query": "",
  6093. "resultFormat": "time_series"
  6094. },
  6095. "queryType": "Azure Log Analytics",
  6096. "refId": "A",
  6097. "subscription": "$sub"
  6098. }
  6099. ],
  6100. "thresholds": [],
  6101. "timeFrom": null,
  6102. "timeRegions": [],
  6103. "timeShift": null,
  6104. "title": "Total memory by type",
  6105. "tooltip": {
  6106. "shared": true,
  6107. "sort": 0,
  6108. "value_type": "individual"
  6109. },
  6110. "transparent": true,
  6111. "type": "graph",
  6112. "xaxis": {
  6113. "buckets": null,
  6114. "mode": "time",
  6115. "name": null,
  6116. "show": true,
  6117. "values": []
  6118. },
  6119. "yaxes": [
  6120. {
  6121. "format": "short",
  6122. "label": null,
  6123. "logBase": 1,
  6124. "max": null,
  6125. "min": null,
  6126. "show": true
  6127. },
  6128. {
  6129. "format": "short",
  6130. "label": null,
  6131. "logBase": 1,
  6132. "max": null,
  6133. "min": null,
  6134. "show": true
  6135. }
  6136. ],
  6137. "yaxis": {
  6138. "align": false,
  6139. "alignLevel": null
  6140. }
  6141. },
  6142. {
  6143. "aliasColors": {},
  6144. "bars": false,
  6145. "dashLength": 10,
  6146. "dashes": false,
  6147. "datasource": "$ds",
  6148. "fieldConfig": {
  6149. "defaults": {
  6150. "color": {},
  6151. "custom": {},
  6152. "thresholds": {
  6153. "mode": "absolute",
  6154. "steps": []
  6155. }
  6156. },
  6157. "overrides": []
  6158. },
  6159. "fill": 1,
  6160. "fillGradient": 0,
  6161. "gridPos": {
  6162. "h": 10,
  6163. "w": 8,
  6164. "x": 16,
  6165. "y": 99
  6166. },
  6167. "hiddenSeries": false,
  6168. "id": 55,
  6169. "legend": {
  6170. "avg": false,
  6171. "current": false,
  6172. "max": false,
  6173. "min": false,
  6174. "show": true,
  6175. "total": true,
  6176. "values": true
  6177. },
  6178. "lines": true,
  6179. "linewidth": 1,
  6180. "nullPointMode": "null",
  6181. "options": {
  6182. "alertThreshold": true
  6183. },
  6184. "percentage": false,
  6185. "pluginVersion": "7.4.3",
  6186. "pointradius": 2,
  6187. "points": false,
  6188. "renderer": "flot",
  6189. "seriesOverrides": [],
  6190. "spaceLength": 10,
  6191. "stack": false,
  6192. "steppedLine": false,
  6193. "targets": [
  6194. {
  6195. "appInsights": {
  6196. "dimension": [],
  6197. "metricName": "select",
  6198. "timeGrain": "auto"
  6199. },
  6200. "azureLogAnalytics": {
  6201. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet CommandTable = ADXCommand\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak) \r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | project-away ResourceUtilization;\r\nlet QueryTable = ADXQuery\r\n | where StartedOn > ago(7d)\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | extend MemoryPeak = tolong(MemoryPeak)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | extend CommandType = 'Query';\r\nlet dataset_commands_queries = CommandTable\r\n | union (QueryTable)\r\n | project CommandType, DatabaseName, StartedOn, LastUpdatedOn, Duration, State,\r\n FailureReason, RootActivityId, User, ApplicationName, Principal, TotalCPU, MemoryPeak, CorrelationId, cluster_name;\r\nlet dataset = dataset_commands_queries\r\n | where cluster_name == 'mitulktest';\r\ndataset\r\n| where CommandType != 'TableSetOrAppend' \r\n| extend TotalCpuMinutes = totimespan(TotalCPU) / 1m\r\n| top-nested of bin(StartedOn, time(1h)) by sum(TotalCpuMinutes), top-nested 5 of CommandType with others=\"Other Values\" by sum_TotalCpuMinutes=sum(TotalCpuMinutes) desc\r\n| sort by StartedOn asc\r\n| project StartedOn, CommandType, sum_TotalCpuMinutes\r\n",
  6202. "resultFormat": "time_series",
  6203. "workspace": "$ws"
  6204. },
  6205. "azureMonitor": {
  6206. "aggOptions": ["Average"],
  6207. "aggregation": "Average",
  6208. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  6209. "dimensionFilter": "*",
  6210. "dimensionFilters": [],
  6211. "dimensions": [
  6212. {
  6213. "text": "Component Type",
  6214. "value": "ComponentType"
  6215. },
  6216. {
  6217. "text": "Component Name",
  6218. "value": "ComponentName"
  6219. }
  6220. ],
  6221. "metricDefinition": "$ns",
  6222. "metricName": "DiscoveryLatency",
  6223. "metricNamespace": "Microsoft.Kusto/clusters",
  6224. "resourceGroup": "$rg",
  6225. "resourceName": "$resource",
  6226. "timeGrain": "auto",
  6227. "timeGrains": [
  6228. {
  6229. "text": "auto",
  6230. "value": "auto"
  6231. },
  6232. {
  6233. "text": "1 minute",
  6234. "value": "PT1M"
  6235. },
  6236. {
  6237. "text": "5 minutes",
  6238. "value": "PT5M"
  6239. },
  6240. {
  6241. "text": "15 minutes",
  6242. "value": "PT15M"
  6243. },
  6244. {
  6245. "text": "30 minutes",
  6246. "value": "PT30M"
  6247. },
  6248. {
  6249. "text": "1 hour",
  6250. "value": "PT1H"
  6251. },
  6252. {
  6253. "text": "6 hours",
  6254. "value": "PT6H"
  6255. },
  6256. {
  6257. "text": "12 hours",
  6258. "value": "PT12H"
  6259. },
  6260. {
  6261. "text": "1 day",
  6262. "value": "P1D"
  6263. }
  6264. ],
  6265. "top": "10"
  6266. },
  6267. "insightsAnalytics": {
  6268. "query": "",
  6269. "resultFormat": "time_series"
  6270. },
  6271. "queryType": "Azure Log Analytics",
  6272. "refId": "A",
  6273. "subscription": "$sub"
  6274. }
  6275. ],
  6276. "thresholds": [],
  6277. "timeFrom": null,
  6278. "timeRegions": [],
  6279. "timeShift": null,
  6280. "title": "Total CPU by type",
  6281. "tooltip": {
  6282. "shared": true,
  6283. "sort": 0,
  6284. "value_type": "individual"
  6285. },
  6286. "transparent": true,
  6287. "type": "graph",
  6288. "xaxis": {
  6289. "buckets": null,
  6290. "mode": "time",
  6291. "name": null,
  6292. "show": true,
  6293. "values": []
  6294. },
  6295. "yaxes": [
  6296. {
  6297. "format": "short",
  6298. "label": null,
  6299. "logBase": 1,
  6300. "max": null,
  6301. "min": null,
  6302. "show": true
  6303. },
  6304. {
  6305. "format": "short",
  6306. "label": null,
  6307. "logBase": 1,
  6308. "max": null,
  6309. "min": null,
  6310. "show": true
  6311. }
  6312. ],
  6313. "yaxis": {
  6314. "align": false,
  6315. "alignLevel": null
  6316. }
  6317. },
  6318. {
  6319. "datasource": "$ds",
  6320. "fieldConfig": {
  6321. "defaults": {
  6322. "color": {
  6323. "mode": "thresholds"
  6324. },
  6325. "custom": {
  6326. "align": null,
  6327. "filterable": false
  6328. },
  6329. "mappings": [],
  6330. "thresholds": {
  6331. "mode": "absolute",
  6332. "steps": []
  6333. }
  6334. },
  6335. "overrides": []
  6336. },
  6337. "gridPos": {
  6338. "h": 4,
  6339. "w": 8,
  6340. "x": 0,
  6341. "y": 109
  6342. },
  6343. "id": 56,
  6344. "options": {
  6345. "showHeader": true
  6346. },
  6347. "pluginVersion": "7.4.3",
  6348. "targets": [
  6349. {
  6350. "appInsights": {
  6351. "dimension": [],
  6352. "metricName": "select",
  6353. "timeGrain": "auto"
  6354. },
  6355. "azureLogAnalytics": {
  6356. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet commandTable = \r\n ADXCommand \r\n | where StartedOn > ago(7d)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | project User, StartedOn, ApplicationName, CommandType, WorkloadGroup\r\n;\r\nlet queryTable = \r\n ADXQuery \r\n | where StartedOn > ago(7d)\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | extend CommandType = 'Query'\r\n | project User, StartedOn, ApplicationName, CommandType, WorkloadGroup;\r\nlet FullList = commandTable\r\n | union (queryTable)\r\n | extend ApplicationName = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", \"Kusto Data Management\", ApplicationName)\r\n | project User, StartedOn, ApplicationName, CommandType, WorkloadGroup;\r\nlet Top =\r\n FullList\r\n | summarize Count=count() by WorkloadGroup\r\n | top 10 by Count desc\r\n | distinct WorkloadGroup\r\n;\r\nFullList\r\n| project WorkloadGroup = iff((WorkloadGroup in(Top)) == true, WorkloadGroup, 'Other'), CommandType, StartedOn\r\n| make-series count() on StartedOn from ago(7d) to now() step 1h by WorkloadGroup\r\n",
  6357. "resultFormat": "time_series",
  6358. "workspace": "$ws"
  6359. },
  6360. "azureMonitor": {
  6361. "aggOptions": ["Average"],
  6362. "aggregation": "Average",
  6363. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  6364. "dimensionFilter": "*",
  6365. "dimensionFilters": [],
  6366. "dimensions": [
  6367. {
  6368. "text": "Component Type",
  6369. "value": "ComponentType"
  6370. },
  6371. {
  6372. "text": "Component Name",
  6373. "value": "ComponentName"
  6374. }
  6375. ],
  6376. "metricDefinition": "$ns",
  6377. "metricName": "DiscoveryLatency",
  6378. "metricNamespace": "Microsoft.Kusto/clusters",
  6379. "resourceGroup": "$rg",
  6380. "resourceName": "$resource",
  6381. "timeGrain": "auto",
  6382. "timeGrains": [
  6383. {
  6384. "text": "auto",
  6385. "value": "auto"
  6386. },
  6387. {
  6388. "text": "1 minute",
  6389. "value": "PT1M"
  6390. },
  6391. {
  6392. "text": "5 minutes",
  6393. "value": "PT5M"
  6394. },
  6395. {
  6396. "text": "15 minutes",
  6397. "value": "PT15M"
  6398. },
  6399. {
  6400. "text": "30 minutes",
  6401. "value": "PT30M"
  6402. },
  6403. {
  6404. "text": "1 hour",
  6405. "value": "PT1H"
  6406. },
  6407. {
  6408. "text": "6 hours",
  6409. "value": "PT6H"
  6410. },
  6411. {
  6412. "text": "12 hours",
  6413. "value": "PT12H"
  6414. },
  6415. {
  6416. "text": "1 day",
  6417. "value": "P1D"
  6418. }
  6419. ],
  6420. "top": "10"
  6421. },
  6422. "insightsAnalytics": {
  6423. "query": "",
  6424. "resultFormat": "time_series"
  6425. },
  6426. "queryType": "Azure Log Analytics",
  6427. "refId": "A",
  6428. "subscription": "$sub"
  6429. }
  6430. ],
  6431. "timeFrom": null,
  6432. "timeShift": null,
  6433. "title": "Command + query count by workload group",
  6434. "transformations": [],
  6435. "transparent": true,
  6436. "type": "table"
  6437. },
  6438. {
  6439. "datasource": "$ds",
  6440. "fieldConfig": {
  6441. "defaults": {
  6442. "color": {
  6443. "mode": "thresholds"
  6444. },
  6445. "custom": {
  6446. "align": null,
  6447. "filterable": false
  6448. },
  6449. "mappings": [],
  6450. "thresholds": {
  6451. "mode": "absolute",
  6452. "steps": []
  6453. }
  6454. },
  6455. "overrides": []
  6456. },
  6457. "gridPos": {
  6458. "h": 4,
  6459. "w": 8,
  6460. "x": 8,
  6461. "y": 109
  6462. },
  6463. "id": 57,
  6464. "options": {
  6465. "showHeader": true
  6466. },
  6467. "pluginVersion": "7.4.3",
  6468. "targets": [
  6469. {
  6470. "appInsights": {
  6471. "dimension": [],
  6472. "metricName": "select",
  6473. "timeGrain": "auto"
  6474. },
  6475. "azureLogAnalytics": {
  6476. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet commandTable = \r\n ADXCommand\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where StartedOn > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | extend MemoryPeak = tolong(ResourceUtilization.MemoryPeak)\r\n | project User, ApplicationName, CommandType, StartedOn, MemoryPeak, WorkloadGroup\r\n;\r\nlet queryTable = \r\n ADXQuery \r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where StartedOn > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | extend CommandType = 'Query'\r\n | project User, ApplicationName, CommandType, StartedOn, MemoryPeak, WorkloadGroup;\r\nlet FullList = commandTable\r\n | union (queryTable)\r\n | extend ApplicationName = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", \"Kusto Data Management\", ApplicationName)\r\n | project User, ApplicationName, CommandType, StartedOn, MemoryPeak, WorkloadGroup;\r\nlet Top =\r\n FullList\r\n | summarize Memory=sum(MemoryPeak) by WorkloadGroup\r\n | top 10 by Memory desc\r\n | distinct WorkloadGroup\r\n;\r\nFullList\r\n| project WorkloadGroup = iff((WorkloadGroup in(Top)) == true, WorkloadGroup, 'Other'), CommandType, User, StartedOn, MemoryPeakGB=MemoryPeak / 1024.0 / 1024.0 / 1024.0\r\n| make-series MemoryPeakGB=sum(MemoryPeakGB) on StartedOn from ago(7d) to now() step 1h by WorkloadGroup",
  6477. "resultFormat": "time_series",
  6478. "workspace": "$ws"
  6479. },
  6480. "azureMonitor": {
  6481. "aggOptions": ["Average"],
  6482. "aggregation": "Average",
  6483. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  6484. "dimensionFilter": "*",
  6485. "dimensionFilters": [],
  6486. "dimensions": [
  6487. {
  6488. "text": "Component Type",
  6489. "value": "ComponentType"
  6490. },
  6491. {
  6492. "text": "Component Name",
  6493. "value": "ComponentName"
  6494. }
  6495. ],
  6496. "metricDefinition": "$ns",
  6497. "metricName": "DiscoveryLatency",
  6498. "metricNamespace": "Microsoft.Kusto/clusters",
  6499. "resourceGroup": "$rg",
  6500. "resourceName": "$resource",
  6501. "timeGrain": "auto",
  6502. "timeGrains": [
  6503. {
  6504. "text": "auto",
  6505. "value": "auto"
  6506. },
  6507. {
  6508. "text": "1 minute",
  6509. "value": "PT1M"
  6510. },
  6511. {
  6512. "text": "5 minutes",
  6513. "value": "PT5M"
  6514. },
  6515. {
  6516. "text": "15 minutes",
  6517. "value": "PT15M"
  6518. },
  6519. {
  6520. "text": "30 minutes",
  6521. "value": "PT30M"
  6522. },
  6523. {
  6524. "text": "1 hour",
  6525. "value": "PT1H"
  6526. },
  6527. {
  6528. "text": "6 hours",
  6529. "value": "PT6H"
  6530. },
  6531. {
  6532. "text": "12 hours",
  6533. "value": "PT12H"
  6534. },
  6535. {
  6536. "text": "1 day",
  6537. "value": "P1D"
  6538. }
  6539. ],
  6540. "top": "10"
  6541. },
  6542. "insightsAnalytics": {
  6543. "query": "",
  6544. "resultFormat": "time_series"
  6545. },
  6546. "queryType": "Azure Log Analytics",
  6547. "refId": "A",
  6548. "subscription": "$sub"
  6549. }
  6550. ],
  6551. "timeFrom": null,
  6552. "timeShift": null,
  6553. "title": "Total memory by workload group",
  6554. "transformations": [],
  6555. "transparent": true,
  6556. "type": "table"
  6557. },
  6558. {
  6559. "datasource": "$ds",
  6560. "fieldConfig": {
  6561. "defaults": {
  6562. "color": {
  6563. "mode": "thresholds"
  6564. },
  6565. "custom": {
  6566. "align": null,
  6567. "filterable": false
  6568. },
  6569. "mappings": [],
  6570. "thresholds": {
  6571. "mode": "absolute",
  6572. "steps": []
  6573. }
  6574. },
  6575. "overrides": []
  6576. },
  6577. "gridPos": {
  6578. "h": 4,
  6579. "w": 8,
  6580. "x": 16,
  6581. "y": 109
  6582. },
  6583. "id": 58,
  6584. "options": {
  6585. "showHeader": true
  6586. },
  6587. "pluginVersion": "7.4.3",
  6588. "targets": [
  6589. {
  6590. "appInsights": {
  6591. "dimension": [],
  6592. "metricName": "select",
  6593. "timeGrain": "auto"
  6594. },
  6595. "azureLogAnalytics": {
  6596. "query": "let system_databases = dynamic(['KustoMonitoringPersistentDatabase', '$systemdb']); \r\nlet system_users = dynamic(['AAD app id=b753584e-c468-4503-852a-374280ce7a62', 'KustoServiceBuiltInPrincipal']); // b753584e-c468-4503-852a-374280ce7a62 is Kusto Query Runner\r\nlet system_cluster_management_applications = dynamic(['Kusto.WinSvc.CM.Svc']); // Kusto Cluster Management\r\nlet commandTable = \r\n ADXCommand\r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where StartedOn > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | project User, ApplicationName, CommandType, StartedOn, TotalCPU, WorkloadGroup\r\n;\r\nlet queryTable = \r\n ADXQuery \r\n | where ((false == \"false\" and ApplicationName != 'Kusto.WinSvc.DM.Svc') or false == \"true\")\r\n | where DatabaseName !in (system_databases) and User !in (system_users) and ApplicationName !in (system_cluster_management_applications)\r\n | where StartedOn > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | extend CommandType = 'Query'\r\n | project User, ApplicationName, CommandType, StartedOn, TotalCPU, WorkloadGroup;\r\nlet FullList = commandTable\r\n | union (queryTable)\r\n | extend ApplicationName = case(ApplicationName == \"Kusto.WinSvc.DM.Svc\", \"Kusto Data Management\", ApplicationName)\r\n | project User, ApplicationName, CommandType, StartedOn, totimespan(TotalCPU), WorkloadGroup;\r\nlet Top =\r\n FullList\r\n | summarize TotalCpu=sum(TotalCPU) by WorkloadGroup\r\n | top 10 by TotalCpu desc\r\n | distinct WorkloadGroup\r\n;\r\nFullList\r\n| project WorkloadGroup = iff((WorkloadGroup in(Top)) == true, WorkloadGroup, 'Other'), StartedOn, TotalCpuMinutes=totimespan(TotalCPU) / 1m\r\n| make-series TotalCpuMinutes=sum(TotalCpuMinutes) on StartedOn from ago(7d) to now() step 1h by WorkloadGroup",
  6597. "resultFormat": "time_series",
  6598. "workspace": "$ws"
  6599. },
  6600. "azureMonitor": {
  6601. "aggOptions": ["Average"],
  6602. "aggregation": "Average",
  6603. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  6604. "dimensionFilter": "*",
  6605. "dimensionFilters": [],
  6606. "dimensions": [
  6607. {
  6608. "text": "Component Type",
  6609. "value": "ComponentType"
  6610. },
  6611. {
  6612. "text": "Component Name",
  6613. "value": "ComponentName"
  6614. }
  6615. ],
  6616. "metricDefinition": "$ns",
  6617. "metricName": "DiscoveryLatency",
  6618. "metricNamespace": "Microsoft.Kusto/clusters",
  6619. "resourceGroup": "$rg",
  6620. "resourceName": "$resource",
  6621. "timeGrain": "auto",
  6622. "timeGrains": [
  6623. {
  6624. "text": "auto",
  6625. "value": "auto"
  6626. },
  6627. {
  6628. "text": "1 minute",
  6629. "value": "PT1M"
  6630. },
  6631. {
  6632. "text": "5 minutes",
  6633. "value": "PT5M"
  6634. },
  6635. {
  6636. "text": "15 minutes",
  6637. "value": "PT15M"
  6638. },
  6639. {
  6640. "text": "30 minutes",
  6641. "value": "PT30M"
  6642. },
  6643. {
  6644. "text": "1 hour",
  6645. "value": "PT1H"
  6646. },
  6647. {
  6648. "text": "6 hours",
  6649. "value": "PT6H"
  6650. },
  6651. {
  6652. "text": "12 hours",
  6653. "value": "PT12H"
  6654. },
  6655. {
  6656. "text": "1 day",
  6657. "value": "P1D"
  6658. }
  6659. ],
  6660. "top": "10"
  6661. },
  6662. "insightsAnalytics": {
  6663. "query": "",
  6664. "resultFormat": "time_series"
  6665. },
  6666. "queryType": "Azure Log Analytics",
  6667. "refId": "A",
  6668. "subscription": "$sub"
  6669. }
  6670. ],
  6671. "timeFrom": null,
  6672. "timeShift": null,
  6673. "title": "Total CPU by workload group",
  6674. "transformations": [],
  6675. "transparent": true,
  6676. "type": "table"
  6677. },
  6678. {
  6679. "collapsed": false,
  6680. "datasource": "$ds",
  6681. "gridPos": {
  6682. "h": 1,
  6683. "w": 24,
  6684. "x": 0,
  6685. "y": 113
  6686. },
  6687. "id": 60,
  6688. "panels": [],
  6689. "title": "Tables",
  6690. "type": "row"
  6691. },
  6692. {
  6693. "datasource": "$ds",
  6694. "fieldConfig": {
  6695. "defaults": {
  6696. "color": {
  6697. "mode": "thresholds"
  6698. },
  6699. "custom": {
  6700. "align": null,
  6701. "filterable": false
  6702. },
  6703. "mappings": [],
  6704. "thresholds": {
  6705. "mode": "absolute",
  6706. "steps": []
  6707. }
  6708. },
  6709. "overrides": []
  6710. },
  6711. "gridPos": {
  6712. "h": 3,
  6713. "w": 24,
  6714. "x": 0,
  6715. "y": 114
  6716. },
  6717. "id": 61,
  6718. "options": {
  6719. "showHeader": true
  6720. },
  6721. "pluginVersion": "7.4.3",
  6722. "targets": [
  6723. {
  6724. "appInsights": {
  6725. "dimension": [],
  6726. "metricName": "select",
  6727. "timeGrain": "auto"
  6728. },
  6729. "azureLogAnalytics": {
  6730. "query": "ADXTableDetails \r\n| where TimeGenerated >= ago(1d)\r\n| project TimeGenerated,\r\n DatabaseName,\r\n TableName,\r\n RetentionPolicyOrigin,\r\n CachingPolicyOrigin,\r\n OriginalSize = TotalOriginalSize, \r\n TotalExtentSize, \r\n HotExtentSize = HotExtentSize, \r\n RowCount = TotalRowCount, \r\n ExtentCount = TotalExtentCount,\r\n SoftDelete = format_timespan(totimespan(todynamic(RetentionPolicy).SoftDeletePeriod), 'd'),\r\n HotCache = format_timespan(totimespan(todynamic(CachingPolicy).DataHotSpan), 'd') \r\n| extend CompressionRatio = round(toreal(OriginalSize) / TotalExtentSize, 1)\r\n| extend SoftDelete = iff(RetentionPolicyOrigin == \"default\" and isempty(SoftDelete), \"unlimited\", SoftDelete)\r\n| extend HotCache = iff(CachingPolicyOrigin == \"default\" and isempty(HotCache), \"unlimited\", HotCache)\r\n| summarize arg_max(TimeGenerated, *) by DatabaseName, TableName\r\n| top 351 by HotExtentSize desc\r\n| project DatabaseName,\r\n TableName,\r\n RowCount, \r\n HotExtentSize,\r\n SoftDelete,\r\n HotCache,\r\n OriginalSize, \r\n TotalExtentSize,\r\n CompressionRatio, \r\n ExtentCount\r\n",
  6731. "resultFormat": "time_series",
  6732. "workspace": "$ws"
  6733. },
  6734. "azureMonitor": {
  6735. "aggOptions": ["Average"],
  6736. "aggregation": "Average",
  6737. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  6738. "dimensionFilter": "*",
  6739. "dimensionFilters": [],
  6740. "dimensions": [
  6741. {
  6742. "text": "Component Type",
  6743. "value": "ComponentType"
  6744. },
  6745. {
  6746. "text": "Component Name",
  6747. "value": "ComponentName"
  6748. }
  6749. ],
  6750. "metricDefinition": "$ns",
  6751. "metricName": "DiscoveryLatency",
  6752. "metricNamespace": "Microsoft.Kusto/clusters",
  6753. "resourceGroup": "$rg",
  6754. "resourceName": "$resource",
  6755. "timeGrain": "auto",
  6756. "timeGrains": [
  6757. {
  6758. "text": "auto",
  6759. "value": "auto"
  6760. },
  6761. {
  6762. "text": "1 minute",
  6763. "value": "PT1M"
  6764. },
  6765. {
  6766. "text": "5 minutes",
  6767. "value": "PT5M"
  6768. },
  6769. {
  6770. "text": "15 minutes",
  6771. "value": "PT15M"
  6772. },
  6773. {
  6774. "text": "30 minutes",
  6775. "value": "PT30M"
  6776. },
  6777. {
  6778. "text": "1 hour",
  6779. "value": "PT1H"
  6780. },
  6781. {
  6782. "text": "6 hours",
  6783. "value": "PT6H"
  6784. },
  6785. {
  6786. "text": "12 hours",
  6787. "value": "PT12H"
  6788. },
  6789. {
  6790. "text": "1 day",
  6791. "value": "P1D"
  6792. }
  6793. ],
  6794. "top": "10"
  6795. },
  6796. "insightsAnalytics": {
  6797. "query": "",
  6798. "resultFormat": "time_series"
  6799. },
  6800. "queryType": "Azure Log Analytics",
  6801. "refId": "A",
  6802. "subscription": "$sub"
  6803. }
  6804. ],
  6805. "timeFrom": null,
  6806. "timeShift": null,
  6807. "title": " Table details",
  6808. "transformations": [],
  6809. "transparent": true,
  6810. "type": "table"
  6811. },
  6812. {
  6813. "aliasColors": {},
  6814. "bars": false,
  6815. "dashLength": 10,
  6816. "dashes": false,
  6817. "datasource": "$ds",
  6818. "fieldConfig": {
  6819. "defaults": {
  6820. "color": {},
  6821. "custom": {},
  6822. "thresholds": {
  6823. "mode": "absolute",
  6824. "steps": []
  6825. }
  6826. },
  6827. "overrides": []
  6828. },
  6829. "fill": 1,
  6830. "fillGradient": 0,
  6831. "gridPos": {
  6832. "h": 10,
  6833. "w": 12,
  6834. "x": 0,
  6835. "y": 117
  6836. },
  6837. "hiddenSeries": false,
  6838. "id": 62,
  6839. "legend": {
  6840. "avg": false,
  6841. "current": true,
  6842. "max": false,
  6843. "min": false,
  6844. "show": true,
  6845. "total": false,
  6846. "values": true
  6847. },
  6848. "lines": true,
  6849. "linewidth": 1,
  6850. "nullPointMode": "null",
  6851. "options": {
  6852. "alertThreshold": true
  6853. },
  6854. "percentage": false,
  6855. "pluginVersion": "7.4.3",
  6856. "pointradius": 2,
  6857. "points": false,
  6858. "renderer": "flot",
  6859. "seriesOverrides": [],
  6860. "spaceLength": 10,
  6861. "stack": false,
  6862. "steppedLine": false,
  6863. "targets": [
  6864. {
  6865. "appInsights": {
  6866. "dimension": [],
  6867. "metricName": "select",
  6868. "timeGrain": "auto"
  6869. },
  6870. "azureLogAnalytics": {
  6871. "query": "let TotalRowCountTable = ADXTableDetails\r\n | where TimeGenerated > ago(7d)\r\n | project Time = TimeGenerated, Category = strcat(TableName, \" (DB: \", DatabaseName, \")\"), Value = toreal(TotalRowCount);\r\nlet topCategories = \r\n TotalRowCountTable\r\n | summarize sum(Value) by Category\r\n | top 9 by sum_Value desc\r\n;\r\nTotalRowCountTable\r\n| join kind = leftouter (topCategories) on Category\r\n| project Category = coalesce(Category1, 'Other Tables'), Value, Time\r\n| summarize max(Value) by Category, bin(Time, 1h)\r\n",
  6872. "resultFormat": "time_series",
  6873. "workspace": "$ws"
  6874. },
  6875. "azureMonitor": {
  6876. "aggOptions": ["Average"],
  6877. "aggregation": "Average",
  6878. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  6879. "dimensionFilter": "*",
  6880. "dimensionFilters": [],
  6881. "dimensions": [
  6882. {
  6883. "text": "Component Type",
  6884. "value": "ComponentType"
  6885. },
  6886. {
  6887. "text": "Component Name",
  6888. "value": "ComponentName"
  6889. }
  6890. ],
  6891. "metricDefinition": "$ns",
  6892. "metricName": "DiscoveryLatency",
  6893. "metricNamespace": "Microsoft.Kusto/clusters",
  6894. "resourceGroup": "$rg",
  6895. "resourceName": "$resource",
  6896. "timeGrain": "auto",
  6897. "timeGrains": [
  6898. {
  6899. "text": "auto",
  6900. "value": "auto"
  6901. },
  6902. {
  6903. "text": "1 minute",
  6904. "value": "PT1M"
  6905. },
  6906. {
  6907. "text": "5 minutes",
  6908. "value": "PT5M"
  6909. },
  6910. {
  6911. "text": "15 minutes",
  6912. "value": "PT15M"
  6913. },
  6914. {
  6915. "text": "30 minutes",
  6916. "value": "PT30M"
  6917. },
  6918. {
  6919. "text": "1 hour",
  6920. "value": "PT1H"
  6921. },
  6922. {
  6923. "text": "6 hours",
  6924. "value": "PT6H"
  6925. },
  6926. {
  6927. "text": "12 hours",
  6928. "value": "PT12H"
  6929. },
  6930. {
  6931. "text": "1 day",
  6932. "value": "P1D"
  6933. }
  6934. ],
  6935. "top": "10"
  6936. },
  6937. "insightsAnalytics": {
  6938. "query": "",
  6939. "resultFormat": "time_series"
  6940. },
  6941. "queryType": "Azure Log Analytics",
  6942. "refId": "A",
  6943. "subscription": "$sub"
  6944. }
  6945. ],
  6946. "thresholds": [],
  6947. "timeFrom": null,
  6948. "timeRegions": [],
  6949. "timeShift": null,
  6950. "title": "Top tables by row count",
  6951. "tooltip": {
  6952. "shared": true,
  6953. "sort": 0,
  6954. "value_type": "individual"
  6955. },
  6956. "transformations": [],
  6957. "transparent": true,
  6958. "type": "graph",
  6959. "xaxis": {
  6960. "buckets": null,
  6961. "mode": "time",
  6962. "name": null,
  6963. "show": true,
  6964. "values": []
  6965. },
  6966. "yaxes": [
  6967. {
  6968. "format": "short",
  6969. "label": null,
  6970. "logBase": 1,
  6971. "max": null,
  6972. "min": null,
  6973. "show": true
  6974. },
  6975. {
  6976. "format": "short",
  6977. "label": null,
  6978. "logBase": 1,
  6979. "max": null,
  6980. "min": null,
  6981. "show": true
  6982. }
  6983. ],
  6984. "yaxis": {
  6985. "align": false,
  6986. "alignLevel": null
  6987. }
  6988. },
  6989. {
  6990. "aliasColors": {},
  6991. "bars": false,
  6992. "dashLength": 10,
  6993. "dashes": false,
  6994. "datasource": "$ds",
  6995. "fieldConfig": {
  6996. "defaults": {
  6997. "color": {},
  6998. "custom": {},
  6999. "thresholds": {
  7000. "mode": "absolute",
  7001. "steps": []
  7002. }
  7003. },
  7004. "overrides": []
  7005. },
  7006. "fill": 1,
  7007. "fillGradient": 0,
  7008. "gridPos": {
  7009. "h": 10,
  7010. "w": 12,
  7011. "x": 12,
  7012. "y": 117
  7013. },
  7014. "hiddenSeries": false,
  7015. "id": 63,
  7016. "legend": {
  7017. "avg": false,
  7018. "current": true,
  7019. "max": false,
  7020. "min": false,
  7021. "show": true,
  7022. "total": false,
  7023. "values": true
  7024. },
  7025. "lines": true,
  7026. "linewidth": 1,
  7027. "nullPointMode": "null",
  7028. "options": {
  7029. "alertThreshold": true
  7030. },
  7031. "percentage": false,
  7032. "pluginVersion": "7.4.3",
  7033. "pointradius": 2,
  7034. "points": false,
  7035. "renderer": "flot",
  7036. "seriesOverrides": [],
  7037. "spaceLength": 10,
  7038. "stack": false,
  7039. "steppedLine": false,
  7040. "targets": [
  7041. {
  7042. "appInsights": {
  7043. "dimension": [],
  7044. "metricName": "select",
  7045. "timeGrain": "auto"
  7046. },
  7047. "azureLogAnalytics": {
  7048. "query": "let HotExtentSizeTable = ADXTableDetails\r\n | where TimeGenerated > ago(7d)\r\n | project Time = TimeGenerated, Category = strcat(TableName, \" (DB: \", DatabaseName, \")\"), Value = HotExtentSize;\r\nlet topCategories = \r\n HotExtentSizeTable\r\n | summarize sum(Value) by Category\r\n | top 9 by sum_Value desc;\r\nHotExtentSizeTable\r\n| join kind = leftouter (topCategories) on Category\r\n| project Category = coalesce(Category1, 'Other Tables'), Value, Time\r\n| summarize max(Value) by Category, bin(Time, 1h)\r\n",
  7049. "resultFormat": "time_series",
  7050. "workspace": "$ws"
  7051. },
  7052. "azureMonitor": {
  7053. "aggOptions": ["Average"],
  7054. "aggregation": "Average",
  7055. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  7056. "dimensionFilter": "*",
  7057. "dimensionFilters": [],
  7058. "dimensions": [
  7059. {
  7060. "text": "Component Type",
  7061. "value": "ComponentType"
  7062. },
  7063. {
  7064. "text": "Component Name",
  7065. "value": "ComponentName"
  7066. }
  7067. ],
  7068. "metricDefinition": "$ns",
  7069. "metricName": "DiscoveryLatency",
  7070. "metricNamespace": "Microsoft.Kusto/clusters",
  7071. "resourceGroup": "$rg",
  7072. "resourceName": "$resource",
  7073. "timeGrain": "auto",
  7074. "timeGrains": [
  7075. {
  7076. "text": "auto",
  7077. "value": "auto"
  7078. },
  7079. {
  7080. "text": "1 minute",
  7081. "value": "PT1M"
  7082. },
  7083. {
  7084. "text": "5 minutes",
  7085. "value": "PT5M"
  7086. },
  7087. {
  7088. "text": "15 minutes",
  7089. "value": "PT15M"
  7090. },
  7091. {
  7092. "text": "30 minutes",
  7093. "value": "PT30M"
  7094. },
  7095. {
  7096. "text": "1 hour",
  7097. "value": "PT1H"
  7098. },
  7099. {
  7100. "text": "6 hours",
  7101. "value": "PT6H"
  7102. },
  7103. {
  7104. "text": "12 hours",
  7105. "value": "PT12H"
  7106. },
  7107. {
  7108. "text": "1 day",
  7109. "value": "P1D"
  7110. }
  7111. ],
  7112. "top": "10"
  7113. },
  7114. "insightsAnalytics": {
  7115. "query": "",
  7116. "resultFormat": "time_series"
  7117. },
  7118. "queryType": "Azure Log Analytics",
  7119. "refId": "A",
  7120. "subscription": "$sub"
  7121. }
  7122. ],
  7123. "thresholds": [],
  7124. "timeFrom": null,
  7125. "timeRegions": [],
  7126. "timeShift": null,
  7127. "title": "Top tables by hot cache size",
  7128. "tooltip": {
  7129. "shared": true,
  7130. "sort": 0,
  7131. "value_type": "individual"
  7132. },
  7133. "transformations": [],
  7134. "transparent": true,
  7135. "type": "graph",
  7136. "xaxis": {
  7137. "buckets": null,
  7138. "mode": "time",
  7139. "name": null,
  7140. "show": true,
  7141. "values": []
  7142. },
  7143. "yaxes": [
  7144. {
  7145. "format": "short",
  7146. "label": null,
  7147. "logBase": 1,
  7148. "max": null,
  7149. "min": null,
  7150. "show": true
  7151. },
  7152. {
  7153. "format": "short",
  7154. "label": null,
  7155. "logBase": 1,
  7156. "max": null,
  7157. "min": null,
  7158. "show": true
  7159. }
  7160. ],
  7161. "yaxis": {
  7162. "align": false,
  7163. "alignLevel": null
  7164. }
  7165. },
  7166. {
  7167. "aliasColors": {},
  7168. "bars": false,
  7169. "dashLength": 10,
  7170. "dashes": false,
  7171. "datasource": "$ds",
  7172. "fieldConfig": {
  7173. "defaults": {
  7174. "color": {},
  7175. "custom": {},
  7176. "thresholds": {
  7177. "mode": "absolute",
  7178. "steps": []
  7179. }
  7180. },
  7181. "overrides": []
  7182. },
  7183. "fill": 1,
  7184. "fillGradient": 0,
  7185. "gridPos": {
  7186. "h": 10,
  7187. "w": 12,
  7188. "x": 0,
  7189. "y": 127
  7190. },
  7191. "hiddenSeries": false,
  7192. "id": 64,
  7193. "legend": {
  7194. "avg": false,
  7195. "current": true,
  7196. "max": false,
  7197. "min": false,
  7198. "show": true,
  7199. "total": false,
  7200. "values": true
  7201. },
  7202. "lines": true,
  7203. "linewidth": 1,
  7204. "nullPointMode": "null",
  7205. "options": {
  7206. "alertThreshold": true
  7207. },
  7208. "percentage": false,
  7209. "pluginVersion": "7.4.3",
  7210. "pointradius": 2,
  7211. "points": false,
  7212. "renderer": "flot",
  7213. "seriesOverrides": [],
  7214. "spaceLength": 10,
  7215. "stack": false,
  7216. "steppedLine": false,
  7217. "targets": [
  7218. {
  7219. "appInsights": {
  7220. "dimension": [],
  7221. "metricName": "select",
  7222. "timeGrain": "auto"
  7223. },
  7224. "azureLogAnalytics": {
  7225. "query": "let TotalExtentCountTable = ADXTableDetails\r\n | where TimeGenerated > ago(7d)\r\n | project Time = TimeGenerated, Category = strcat(TableName, \" (DB: \", DatabaseName, \")\"), Value = toreal(TotalExtentCount);\r\nlet topCategories = \r\n TotalExtentCountTable\r\n | summarize sum(Value) by Category\r\n | top 9 by sum_Value desc\r\n;\r\nTotalExtentCountTable\r\n| join kind = leftouter (topCategories) on Category\r\n| project Category = coalesce(Category1, 'Other Tables'), Value, Time\r\n| summarize max(Value) by Category, bin(Time, 1h)\r\n",
  7226. "resultFormat": "time_series",
  7227. "workspace": "$ws"
  7228. },
  7229. "azureMonitor": {
  7230. "aggOptions": ["Average"],
  7231. "aggregation": "Average",
  7232. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  7233. "dimensionFilter": "*",
  7234. "dimensionFilters": [],
  7235. "dimensions": [
  7236. {
  7237. "text": "Component Type",
  7238. "value": "ComponentType"
  7239. },
  7240. {
  7241. "text": "Component Name",
  7242. "value": "ComponentName"
  7243. }
  7244. ],
  7245. "metricDefinition": "$ns",
  7246. "metricName": "DiscoveryLatency",
  7247. "metricNamespace": "Microsoft.Kusto/clusters",
  7248. "resourceGroup": "$rg",
  7249. "resourceName": "$resource",
  7250. "timeGrain": "auto",
  7251. "timeGrains": [
  7252. {
  7253. "text": "auto",
  7254. "value": "auto"
  7255. },
  7256. {
  7257. "text": "1 minute",
  7258. "value": "PT1M"
  7259. },
  7260. {
  7261. "text": "5 minutes",
  7262. "value": "PT5M"
  7263. },
  7264. {
  7265. "text": "15 minutes",
  7266. "value": "PT15M"
  7267. },
  7268. {
  7269. "text": "30 minutes",
  7270. "value": "PT30M"
  7271. },
  7272. {
  7273. "text": "1 hour",
  7274. "value": "PT1H"
  7275. },
  7276. {
  7277. "text": "6 hours",
  7278. "value": "PT6H"
  7279. },
  7280. {
  7281. "text": "12 hours",
  7282. "value": "PT12H"
  7283. },
  7284. {
  7285. "text": "1 day",
  7286. "value": "P1D"
  7287. }
  7288. ],
  7289. "top": "10"
  7290. },
  7291. "insightsAnalytics": {
  7292. "query": "",
  7293. "resultFormat": "time_series"
  7294. },
  7295. "queryType": "Azure Log Analytics",
  7296. "refId": "A",
  7297. "subscription": "$sub"
  7298. }
  7299. ],
  7300. "thresholds": [],
  7301. "timeFrom": null,
  7302. "timeRegions": [],
  7303. "timeShift": null,
  7304. "title": "Top tables by extent count",
  7305. "tooltip": {
  7306. "shared": true,
  7307. "sort": 0,
  7308. "value_type": "individual"
  7309. },
  7310. "transformations": [],
  7311. "transparent": true,
  7312. "type": "graph",
  7313. "xaxis": {
  7314. "buckets": null,
  7315. "mode": "time",
  7316. "name": null,
  7317. "show": true,
  7318. "values": []
  7319. },
  7320. "yaxes": [
  7321. {
  7322. "format": "short",
  7323. "label": null,
  7324. "logBase": 1,
  7325. "max": null,
  7326. "min": null,
  7327. "show": true
  7328. },
  7329. {
  7330. "format": "short",
  7331. "label": null,
  7332. "logBase": 1,
  7333. "max": null,
  7334. "min": null,
  7335. "show": true
  7336. }
  7337. ],
  7338. "yaxis": {
  7339. "align": false,
  7340. "alignLevel": null
  7341. }
  7342. },
  7343. {
  7344. "aliasColors": {},
  7345. "bars": false,
  7346. "dashLength": 10,
  7347. "dashes": false,
  7348. "datasource": "$ds",
  7349. "fieldConfig": {
  7350. "defaults": {
  7351. "color": {},
  7352. "custom": {},
  7353. "thresholds": {
  7354. "mode": "absolute",
  7355. "steps": []
  7356. }
  7357. },
  7358. "overrides": []
  7359. },
  7360. "fill": 1,
  7361. "fillGradient": 0,
  7362. "gridPos": {
  7363. "h": 10,
  7364. "w": 12,
  7365. "x": 12,
  7366. "y": 127
  7367. },
  7368. "hiddenSeries": false,
  7369. "id": 65,
  7370. "legend": {
  7371. "avg": false,
  7372. "current": true,
  7373. "max": false,
  7374. "min": false,
  7375. "show": true,
  7376. "total": false,
  7377. "values": true
  7378. },
  7379. "lines": true,
  7380. "linewidth": 1,
  7381. "nullPointMode": "null",
  7382. "options": {
  7383. "alertThreshold": true
  7384. },
  7385. "percentage": false,
  7386. "pluginVersion": "7.4.3",
  7387. "pointradius": 2,
  7388. "points": false,
  7389. "renderer": "flot",
  7390. "seriesOverrides": [],
  7391. "spaceLength": 10,
  7392. "stack": false,
  7393. "steppedLine": false,
  7394. "targets": [
  7395. {
  7396. "appInsights": {
  7397. "dimension": [],
  7398. "metricName": "select",
  7399. "timeGrain": "auto"
  7400. },
  7401. "azureLogAnalytics": {
  7402. "query": "let TotalExtentSizeTable = ADXTableDetails\r\n | where TimeGenerated > ago(7d)\r\n | project Time = TimeGenerated, Category = strcat(TableName, \" (DB: \", DatabaseName, \")\"), Value = TotalExtentSize;\r\nlet topCategories = \r\n TotalExtentSizeTable\r\n | summarize sum(Value) by Category\r\n | top 9 by sum_Value desc;\r\nTotalExtentSizeTable\r\n| join kind = leftouter (topCategories) on Category\r\n| project Category = coalesce(Category1, 'Other Tables'), Value, Time\r\n| summarize max(Value) by Category, bin(Time, 1h)\r\n",
  7403. "resultFormat": "time_series",
  7404. "workspace": "$ws"
  7405. },
  7406. "azureMonitor": {
  7407. "aggOptions": ["Average"],
  7408. "aggregation": "Average",
  7409. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  7410. "dimensionFilter": "*",
  7411. "dimensionFilters": [],
  7412. "dimensions": [
  7413. {
  7414. "text": "Component Type",
  7415. "value": "ComponentType"
  7416. },
  7417. {
  7418. "text": "Component Name",
  7419. "value": "ComponentName"
  7420. }
  7421. ],
  7422. "metricDefinition": "$ns",
  7423. "metricName": "DiscoveryLatency",
  7424. "metricNamespace": "Microsoft.Kusto/clusters",
  7425. "resourceGroup": "$rg",
  7426. "resourceName": "$resource",
  7427. "timeGrain": "auto",
  7428. "timeGrains": [
  7429. {
  7430. "text": "auto",
  7431. "value": "auto"
  7432. },
  7433. {
  7434. "text": "1 minute",
  7435. "value": "PT1M"
  7436. },
  7437. {
  7438. "text": "5 minutes",
  7439. "value": "PT5M"
  7440. },
  7441. {
  7442. "text": "15 minutes",
  7443. "value": "PT15M"
  7444. },
  7445. {
  7446. "text": "30 minutes",
  7447. "value": "PT30M"
  7448. },
  7449. {
  7450. "text": "1 hour",
  7451. "value": "PT1H"
  7452. },
  7453. {
  7454. "text": "6 hours",
  7455. "value": "PT6H"
  7456. },
  7457. {
  7458. "text": "12 hours",
  7459. "value": "PT12H"
  7460. },
  7461. {
  7462. "text": "1 day",
  7463. "value": "P1D"
  7464. }
  7465. ],
  7466. "top": "10"
  7467. },
  7468. "insightsAnalytics": {
  7469. "query": "",
  7470. "resultFormat": "time_series"
  7471. },
  7472. "queryType": "Azure Log Analytics",
  7473. "refId": "A",
  7474. "subscription": "$sub"
  7475. }
  7476. ],
  7477. "thresholds": [],
  7478. "timeFrom": null,
  7479. "timeRegions": [],
  7480. "timeShift": null,
  7481. "title": "Top tables by extent size",
  7482. "tooltip": {
  7483. "shared": true,
  7484. "sort": 0,
  7485. "value_type": "individual"
  7486. },
  7487. "transformations": [],
  7488. "transparent": true,
  7489. "type": "graph",
  7490. "xaxis": {
  7491. "buckets": null,
  7492. "mode": "time",
  7493. "name": null,
  7494. "show": true,
  7495. "values": []
  7496. },
  7497. "yaxes": [
  7498. {
  7499. "format": "short",
  7500. "label": null,
  7501. "logBase": 1,
  7502. "max": null,
  7503. "min": null,
  7504. "show": true
  7505. },
  7506. {
  7507. "format": "short",
  7508. "label": null,
  7509. "logBase": 1,
  7510. "max": null,
  7511. "min": null,
  7512. "show": true
  7513. }
  7514. ],
  7515. "yaxis": {
  7516. "align": false,
  7517. "alignLevel": null
  7518. }
  7519. },
  7520. {
  7521. "collapsed": false,
  7522. "datasource": "$ds",
  7523. "gridPos": {
  7524. "h": 1,
  7525. "w": 24,
  7526. "x": 0,
  7527. "y": 137
  7528. },
  7529. "id": 67,
  7530. "panels": [],
  7531. "title": "Cache",
  7532. "type": "row"
  7533. },
  7534. {
  7535. "datasource": "$ds",
  7536. "description": "This page presents data based on the Time Range parameter. You can change the Time Range parameter to present data starting from 05/25/21 ,11:38 PM (based on your oldest diagnostic logs data).\n The table names and the Cache policy column refreshes every 8 hours.\n Notice the queries statistics presented are based only on queries that scanned data. For instance queries that failed, and queries with time operator of future don't scan any data therefore would not be part of the queries statistics presented.",
  7537. "fieldConfig": {
  7538. "defaults": {
  7539. "color": {
  7540. "mode": "thresholds"
  7541. },
  7542. "custom": {
  7543. "align": null,
  7544. "filterable": false
  7545. },
  7546. "mappings": [],
  7547. "thresholds": {
  7548. "mode": "absolute",
  7549. "steps": []
  7550. }
  7551. },
  7552. "overrides": []
  7553. },
  7554. "gridPos": {
  7555. "h": 4,
  7556. "w": 24,
  7557. "x": 0,
  7558. "y": 138
  7559. },
  7560. "id": 72,
  7561. "options": {
  7562. "showHeader": true
  7563. },
  7564. "pluginVersion": "7.4.3",
  7565. "targets": [
  7566. {
  7567. "appInsights": {
  7568. "dimension": [],
  7569. "metricName": "select",
  7570. "timeGrain": "auto"
  7571. },
  7572. "azureLogAnalytics": {
  7573. "query": "let TableUsageStatsWithLookBack = ADXTableUsageStatistics\r\n | where TimeGenerated > ago(7d)\r\n | extend LookBackPeriod = datetime_diff('day', StartedOn, MinCreatedOn) \r\n | summarize CountQueries=count() by DatabaseName, TableName, LookBackPeriod;\r\nlet sumAllQueries = TableUsageStatsWithLookBack\r\n | summarize sumQueries=sum(CountQueries) by DatabaseName, TableName;\r\nlet percentileLookBackTable= TableUsageStatsWithLookBack\r\n | summarize percentile_LookbackDuration_ = percentilesw(LookBackPeriod, CountQueries, 95) by DatabaseName, TableName;\r\nlet defaultRetention = 365d * 10;\r\nADXTableDetails \r\n| where TimeGenerated >= ago(1d) // so we filter out tables that are deprecated\r\n| summarize arg_max(TimeGenerated, *) by DatabaseName, TableName\r\n| extend RetentionPolicy = iff(isnull(RetentionPolicy) or RetentionPolicy == \"null\", defaultRetention, totimespan(parse_json(tostring(RetentionPolicy)).SoftDeletePeriod)),\r\n CachingPolicy = iff(isnull(CachingPolicy) or RetentionPolicy == \"null\", defaultRetention, totimespan(parse_json(tostring(CachingPolicy)).DataHotSpan))\r\n| extend ActiveCachingPolicy = min_of(CachingPolicy, RetentionPolicy)\r\n| join kind = leftouter (percentileLookBackTable) on DatabaseName, TableName\r\n| join kind = leftouter (sumAllQueries) on DatabaseName, TableName\r\n| where DatabaseName != \"KustoMonitoringPersistentDatabase\"\r\n| top 351 by HotExtentSize desc\r\n| project DatabaseName, TableName, CacheSize = HotExtentSize, format_timespan(ActiveCachingPolicy, 'd'), \r\n sumQueries=sumQueries, QueryPeriod = percentile_LookbackDuration_",
  7574. "resultFormat": "time_series",
  7575. "workspace": "$ws"
  7576. },
  7577. "azureMonitor": {
  7578. "aggOptions": ["Average"],
  7579. "aggregation": "Average",
  7580. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  7581. "dimensionFilter": "*",
  7582. "dimensionFilters": [],
  7583. "dimensions": [
  7584. {
  7585. "text": "Component Type",
  7586. "value": "ComponentType"
  7587. },
  7588. {
  7589. "text": "Component Name",
  7590. "value": "ComponentName"
  7591. }
  7592. ],
  7593. "metricDefinition": "$ns",
  7594. "metricName": "DiscoveryLatency",
  7595. "metricNamespace": "Microsoft.Kusto/clusters",
  7596. "resourceGroup": "$rg",
  7597. "resourceName": "$resource",
  7598. "timeGrain": "auto",
  7599. "timeGrains": [
  7600. {
  7601. "text": "auto",
  7602. "value": "auto"
  7603. },
  7604. {
  7605. "text": "1 minute",
  7606. "value": "PT1M"
  7607. },
  7608. {
  7609. "text": "5 minutes",
  7610. "value": "PT5M"
  7611. },
  7612. {
  7613. "text": "15 minutes",
  7614. "value": "PT15M"
  7615. },
  7616. {
  7617. "text": "30 minutes",
  7618. "value": "PT30M"
  7619. },
  7620. {
  7621. "text": "1 hour",
  7622. "value": "PT1H"
  7623. },
  7624. {
  7625. "text": "6 hours",
  7626. "value": "PT6H"
  7627. },
  7628. {
  7629. "text": "12 hours",
  7630. "value": "PT12H"
  7631. },
  7632. {
  7633. "text": "1 day",
  7634. "value": "P1D"
  7635. }
  7636. ],
  7637. "top": "10"
  7638. },
  7639. "insightsAnalytics": {
  7640. "query": "",
  7641. "resultFormat": "time_series"
  7642. },
  7643. "queryType": "Azure Log Analytics",
  7644. "refId": "A",
  7645. "subscription": "$sub"
  7646. }
  7647. ],
  7648. "timeFrom": null,
  7649. "timeShift": null,
  7650. "title": "Table usage details",
  7651. "transformations": [],
  7652. "transparent": true,
  7653. "type": "table"
  7654. },
  7655. {
  7656. "collapsed": false,
  7657. "datasource": "$ds",
  7658. "gridPos": {
  7659. "h": 1,
  7660. "w": 24,
  7661. "x": 0,
  7662. "y": 142
  7663. },
  7664. "id": 69,
  7665. "panels": [],
  7666. "title": "Ingestion",
  7667. "type": "row"
  7668. },
  7669. {
  7670. "datasource": "$ds",
  7671. "description": "",
  7672. "fieldConfig": {
  7673. "defaults": {
  7674. "color": {
  7675. "mode": "thresholds"
  7676. },
  7677. "custom": {
  7678. "align": null,
  7679. "filterable": false
  7680. },
  7681. "mappings": [],
  7682. "thresholds": {
  7683. "mode": "absolute",
  7684. "steps": []
  7685. }
  7686. },
  7687. "overrides": []
  7688. },
  7689. "gridPos": {
  7690. "h": 4,
  7691. "w": 8,
  7692. "x": 0,
  7693. "y": 143
  7694. },
  7695. "id": 73,
  7696. "options": {
  7697. "showHeader": true
  7698. },
  7699. "pluginVersion": "7.4.3",
  7700. "targets": [
  7701. {
  7702. "appInsights": {
  7703. "dimension": [],
  7704. "metricName": "select",
  7705. "timeGrain": "auto"
  7706. },
  7707. "azureLogAnalytics": {
  7708. "query": "//SucceededIngestion\r\n//| where TimeGenerated > ago(7d)\r\n//| parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n//| where cluster_name == 'mitulktest'\r\n//| summarize count=dcount(IngestionSourcePath) by Database, Table\r\n//| order by ['count'],Database, Table\r\nlet tenant=\r\n FailedIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | distinct TenantId\r\n | take 1; //choose one tenant as logs are transferred to many tenants which represents workSpace\r\nlet failures = FailedIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | where TenantId == toscalar(tenant)\r\n | summarize f_count=count() by Database, Table;\r\nlet tenant_success=\r\n SucceededIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | distinct TenantId\r\n | take 1; //choose one tenant as logs are transferred to many tenants which represents workSpace\r\nlet success = SucceededIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | where TenantId == toscalar(tenant_success)\r\n | summarize s_count=count() by Database, Table;\r\nsuccess\r\n| join kind=leftouter failures on Database, Table\r\n| extend f_count = iif(isnull(f_count), 0, f_count)\r\n| extend s_count = iif(isnull(s_count), 0, s_count)\r\n| extend overall = iif(isnull(s_count), 0.0, s_count * 100.0 / (s_count + f_count))\r\n| project Database, Table, s_count, overall\r\n| order by s_count, Database, Table",
  7709. "resultFormat": "time_series",
  7710. "workspace": "$ws"
  7711. },
  7712. "azureMonitor": {
  7713. "aggOptions": ["Average"],
  7714. "aggregation": "Average",
  7715. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  7716. "dimensionFilter": "*",
  7717. "dimensionFilters": [],
  7718. "dimensions": [
  7719. {
  7720. "text": "Component Type",
  7721. "value": "ComponentType"
  7722. },
  7723. {
  7724. "text": "Component Name",
  7725. "value": "ComponentName"
  7726. }
  7727. ],
  7728. "metricDefinition": "$ns",
  7729. "metricName": "DiscoveryLatency",
  7730. "metricNamespace": "Microsoft.Kusto/clusters",
  7731. "resourceGroup": "$rg",
  7732. "resourceName": "$resource",
  7733. "timeGrain": "auto",
  7734. "timeGrains": [
  7735. {
  7736. "text": "auto",
  7737. "value": "auto"
  7738. },
  7739. {
  7740. "text": "1 minute",
  7741. "value": "PT1M"
  7742. },
  7743. {
  7744. "text": "5 minutes",
  7745. "value": "PT5M"
  7746. },
  7747. {
  7748. "text": "15 minutes",
  7749. "value": "PT15M"
  7750. },
  7751. {
  7752. "text": "30 minutes",
  7753. "value": "PT30M"
  7754. },
  7755. {
  7756. "text": "1 hour",
  7757. "value": "PT1H"
  7758. },
  7759. {
  7760. "text": "6 hours",
  7761. "value": "PT6H"
  7762. },
  7763. {
  7764. "text": "12 hours",
  7765. "value": "PT12H"
  7766. },
  7767. {
  7768. "text": "1 day",
  7769. "value": "P1D"
  7770. }
  7771. ],
  7772. "top": "10"
  7773. },
  7774. "insightsAnalytics": {
  7775. "query": "",
  7776. "resultFormat": "time_series"
  7777. },
  7778. "queryType": "Azure Log Analytics",
  7779. "refId": "A",
  7780. "subscription": "$sub"
  7781. }
  7782. ],
  7783. "timeFrom": null,
  7784. "timeShift": null,
  7785. "title": "Succeeded ingestions by table",
  7786. "transformations": [],
  7787. "transparent": true,
  7788. "type": "table"
  7789. },
  7790. {
  7791. "aliasColors": {},
  7792. "bars": false,
  7793. "dashLength": 10,
  7794. "dashes": false,
  7795. "datasource": "$ds",
  7796. "description": "Time from when a message is discovered by Azure Data Explorer, until its content is received by the Engine Storage for processing.",
  7797. "fieldConfig": {
  7798. "defaults": {
  7799. "color": {},
  7800. "custom": {},
  7801. "thresholds": {
  7802. "mode": "absolute",
  7803. "steps": []
  7804. }
  7805. },
  7806. "overrides": []
  7807. },
  7808. "fill": 1,
  7809. "fillGradient": 0,
  7810. "gridPos": {
  7811. "h": 9,
  7812. "w": 8,
  7813. "x": 8,
  7814. "y": 143
  7815. },
  7816. "hiddenSeries": false,
  7817. "id": 74,
  7818. "legend": {
  7819. "avg": true,
  7820. "current": false,
  7821. "max": false,
  7822. "min": false,
  7823. "show": true,
  7824. "total": false,
  7825. "values": true
  7826. },
  7827. "lines": true,
  7828. "linewidth": 1,
  7829. "nullPointMode": "null",
  7830. "options": {
  7831. "alertThreshold": true
  7832. },
  7833. "percentage": false,
  7834. "pluginVersion": "7.4.3",
  7835. "pointradius": 2,
  7836. "points": false,
  7837. "renderer": "flot",
  7838. "seriesOverrides": [],
  7839. "spaceLength": 10,
  7840. "stack": false,
  7841. "steppedLine": false,
  7842. "targets": [
  7843. {
  7844. "appInsights": {
  7845. "dimension": [],
  7846. "metricName": "select",
  7847. "timeGrain": "auto"
  7848. },
  7849. "azureLogAnalytics": {
  7850. "query": "//SucceededIngestion\r\n//| where TimeGenerated > ago(7d)\r\n//| parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n//| where cluster_name == 'mitulktest'\r\n//| summarize count=dcount(IngestionSourcePath) by Database, Table\r\n//| order by ['count'],Database, Table\r\nlet tenant=\r\n FailedIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | distinct TenantId\r\n | take 1; //choose one tenant as logs are transferred to many tenants which represents workSpace\r\nlet failures = FailedIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | where TenantId == toscalar(tenant)\r\n | summarize f_count=count() by Database, Table;\r\nlet tenant_success=\r\n SucceededIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | distinct TenantId\r\n | take 1; //choose one tenant as logs are transferred to many tenants which represents workSpace\r\nlet success = SucceededIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | where TenantId == toscalar(tenant_success)\r\n | summarize s_count=count() by Database, Table;\r\nsuccess\r\n| join kind=leftouter failures on Database, Table\r\n| extend f_count = iif(isnull(f_count), 0, f_count)\r\n| extend s_count = iif(isnull(s_count), 0, s_count)\r\n| extend overall = iif(isnull(s_count), 0.0, s_count * 100.0 / (s_count + f_count))\r\n| project Database, Table, s_count, overall\r\n| order by s_count, Database, Table",
  7851. "resultFormat": "time_series",
  7852. "workspace": "$ws"
  7853. },
  7854. "azureMonitor": {
  7855. "aggOptions": ["Average"],
  7856. "aggregation": "Average",
  7857. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  7858. "dimensionFilter": "*",
  7859. "dimensionFilters": [
  7860. {
  7861. "dimension": "ComponentType",
  7862. "filter": "StorageEngine",
  7863. "operator": "eq"
  7864. }
  7865. ],
  7866. "dimensions": [
  7867. {
  7868. "text": "Database",
  7869. "value": "Database"
  7870. },
  7871. {
  7872. "text": "Component Type",
  7873. "value": "ComponentType"
  7874. }
  7875. ],
  7876. "metricDefinition": "$ns",
  7877. "metricName": "StageLatency",
  7878. "metricNamespace": "Microsoft.Kusto/clusters",
  7879. "resourceGroup": "$rg",
  7880. "resourceName": "$resource",
  7881. "timeGrain": "auto",
  7882. "timeGrains": [
  7883. {
  7884. "text": "auto",
  7885. "value": "auto"
  7886. },
  7887. {
  7888. "text": "1 minute",
  7889. "value": "PT1M"
  7890. },
  7891. {
  7892. "text": "5 minutes",
  7893. "value": "PT5M"
  7894. },
  7895. {
  7896. "text": "15 minutes",
  7897. "value": "PT15M"
  7898. },
  7899. {
  7900. "text": "30 minutes",
  7901. "value": "PT30M"
  7902. },
  7903. {
  7904. "text": "1 hour",
  7905. "value": "PT1H"
  7906. },
  7907. {
  7908. "text": "6 hours",
  7909. "value": "PT6H"
  7910. },
  7911. {
  7912. "text": "12 hours",
  7913. "value": "PT12H"
  7914. },
  7915. {
  7916. "text": "1 day",
  7917. "value": "P1D"
  7918. }
  7919. ],
  7920. "top": "10"
  7921. },
  7922. "insightsAnalytics": {
  7923. "query": "",
  7924. "resultFormat": "time_series"
  7925. },
  7926. "queryType": "Azure Monitor",
  7927. "refId": "A",
  7928. "subscription": "$sub"
  7929. }
  7930. ],
  7931. "thresholds": [],
  7932. "timeFrom": null,
  7933. "timeRegions": [],
  7934. "timeShift": null,
  7935. "title": "Stage latency (accumulative latency)",
  7936. "tooltip": {
  7937. "shared": true,
  7938. "sort": 0,
  7939. "value_type": "individual"
  7940. },
  7941. "transformations": [],
  7942. "transparent": true,
  7943. "type": "graph",
  7944. "xaxis": {
  7945. "buckets": null,
  7946. "mode": "time",
  7947. "name": null,
  7948. "show": true,
  7949. "values": []
  7950. },
  7951. "yaxes": [
  7952. {
  7953. "format": "short",
  7954. "label": null,
  7955. "logBase": 1,
  7956. "max": null,
  7957. "min": null,
  7958. "show": true
  7959. },
  7960. {
  7961. "format": "short",
  7962. "label": null,
  7963. "logBase": 1,
  7964. "max": null,
  7965. "min": null,
  7966. "show": true
  7967. }
  7968. ],
  7969. "yaxis": {
  7970. "align": false,
  7971. "alignLevel": null
  7972. }
  7973. },
  7974. {
  7975. "aliasColors": {},
  7976. "bars": false,
  7977. "dashLength": 10,
  7978. "dashes": false,
  7979. "datasource": "$ds",
  7980. "description": "Number of blobs processed by the Storage Engine.",
  7981. "fieldConfig": {
  7982. "defaults": {
  7983. "color": {},
  7984. "custom": {},
  7985. "thresholds": {
  7986. "mode": "absolute",
  7987. "steps": []
  7988. }
  7989. },
  7990. "overrides": []
  7991. },
  7992. "fill": 1,
  7993. "fillGradient": 0,
  7994. "gridPos": {
  7995. "h": 9,
  7996. "w": 8,
  7997. "x": 16,
  7998. "y": 143
  7999. },
  8000. "hiddenSeries": false,
  8001. "id": 75,
  8002. "legend": {
  8003. "avg": false,
  8004. "current": false,
  8005. "max": false,
  8006. "min": false,
  8007. "show": true,
  8008. "total": true,
  8009. "values": true
  8010. },
  8011. "lines": true,
  8012. "linewidth": 1,
  8013. "nullPointMode": "null",
  8014. "options": {
  8015. "alertThreshold": true
  8016. },
  8017. "percentage": false,
  8018. "pluginVersion": "7.4.3",
  8019. "pointradius": 2,
  8020. "points": false,
  8021. "renderer": "flot",
  8022. "seriesOverrides": [],
  8023. "spaceLength": 10,
  8024. "stack": false,
  8025. "steppedLine": false,
  8026. "targets": [
  8027. {
  8028. "appInsights": {
  8029. "dimension": [],
  8030. "metricName": "select",
  8031. "timeGrain": "auto"
  8032. },
  8033. "azureLogAnalytics": {
  8034. "query": "//SucceededIngestion\r\n//| where TimeGenerated > ago(7d)\r\n//| parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n//| where cluster_name == 'mitulktest'\r\n//| summarize count=dcount(IngestionSourcePath) by Database, Table\r\n//| order by ['count'],Database, Table\r\nlet tenant=\r\n FailedIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | distinct TenantId\r\n | take 1; //choose one tenant as logs are transferred to many tenants which represents workSpace\r\nlet failures = FailedIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | where TenantId == toscalar(tenant)\r\n | summarize f_count=count() by Database, Table;\r\nlet tenant_success=\r\n SucceededIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | distinct TenantId\r\n | take 1; //choose one tenant as logs are transferred to many tenants which represents workSpace\r\nlet success = SucceededIngestion\r\n | where TimeGenerated > ago(7d)\r\n | parse _ResourceId with * \"providers/microsoft.kusto/clusters/\" cluster_name\r\n | where cluster_name == 'mitulktest'\r\n | where TenantId == toscalar(tenant_success)\r\n | summarize s_count=count() by Database, Table;\r\nsuccess\r\n| join kind=leftouter failures on Database, Table\r\n| extend f_count = iif(isnull(f_count), 0, f_count)\r\n| extend s_count = iif(isnull(s_count), 0, s_count)\r\n| extend overall = iif(isnull(s_count), 0.0, s_count * 100.0 / (s_count + f_count))\r\n| project Database, Table, s_count, overall\r\n| order by s_count, Database, Table",
  8035. "resultFormat": "time_series",
  8036. "workspace": "$ws"
  8037. },
  8038. "azureMonitor": {
  8039. "aggOptions": ["Total", "Average", "Minimum", "Maximum"],
  8040. "aggregation": "Total",
  8041. "allowedTimeGrainsMs": [60000, 300000, 900000, 1800000, 3600000, 21600000, 43200000, 86400000],
  8042. "dimensionFilter": "*",
  8043. "dimensionFilters": [
  8044. {
  8045. "dimension": "ComponentType",
  8046. "filter": "StorageEngine",
  8047. "operator": "eq"
  8048. }
  8049. ],
  8050. "dimensions": [
  8051. {
  8052. "text": "Database",
  8053. "value": "Database"
  8054. },
  8055. {
  8056. "text": "Component Type",
  8057. "value": "ComponentType"
  8058. },
  8059. {
  8060. "text": "Component Name",
  8061. "value": "ComponentName"
  8062. }
  8063. ],
  8064. "metricDefinition": "$ns",
  8065. "metricName": "BlobsProcessed",
  8066. "metricNamespace": "Microsoft.Kusto/clusters",
  8067. "resourceGroup": "$rg",
  8068. "resourceName": "$resource",
  8069. "timeGrain": "auto",
  8070. "timeGrains": [
  8071. {
  8072. "text": "auto",
  8073. "value": "auto"
  8074. },
  8075. {
  8076. "text": "1 minute",
  8077. "value": "PT1M"
  8078. },
  8079. {
  8080. "text": "5 minutes",
  8081. "value": "PT5M"
  8082. },
  8083. {
  8084. "text": "15 minutes",
  8085. "value": "PT15M"
  8086. },
  8087. {
  8088. "text": "30 minutes",
  8089. "value": "PT30M"
  8090. },
  8091. {
  8092. "text": "1 hour",
  8093. "value": "PT1H"
  8094. },
  8095. {
  8096. "text": "6 hours",
  8097. "value": "PT6H"
  8098. },
  8099. {
  8100. "text": "12 hours",
  8101. "value": "PT12H"
  8102. },
  8103. {
  8104. "text": "1 day",
  8105. "value": "P1D"
  8106. }
  8107. ],
  8108. "top": "10"
  8109. },
  8110. "insightsAnalytics": {
  8111. "query": "",
  8112. "resultFormat": "time_series"
  8113. },
  8114. "queryType": "Azure Monitor",
  8115. "refId": "A",
  8116. "subscription": "$sub"
  8117. }
  8118. ],
  8119. "thresholds": [],
  8120. "timeFrom": null,
  8121. "timeRegions": [],
  8122. "timeShift": null,
  8123. "title": "Data Processed Successfuly",
  8124. "tooltip": {
  8125. "shared": true,
  8126. "sort": 0,
  8127. "value_type": "individual"
  8128. },
  8129. "transformations": [],
  8130. "transparent": true,
  8131. "type": "graph",
  8132. "xaxis": {
  8133. "buckets": null,
  8134. "mode": "time",
  8135. "name": null,
  8136. "show": true,
  8137. "values": []
  8138. },
  8139. "yaxes": [
  8140. {
  8141. "format": "short",
  8142. "label": null,
  8143. "logBase": 1,
  8144. "max": null,
  8145. "min": null,
  8146. "show": true
  8147. },
  8148. {
  8149. "format": "short",
  8150. "label": null,
  8151. "logBase": 1,
  8152. "max": null,
  8153. "min": null,
  8154. "show": true
  8155. }
  8156. ],
  8157. "yaxis": {
  8158. "align": false,
  8159. "alignLevel": null
  8160. }
  8161. }
  8162. ],
  8163. "refresh": false,
  8164. "schemaVersion": 27,
  8165. "style": "dark",
  8166. "tags": [],
  8167. "templating": {
  8168. "list": [
  8169. {
  8170. "current": {
  8171. "selected": false,
  8172. "text": "Azure Monitor Datasource",
  8173. "value": "$ds"
  8174. },
  8175. "description": null,
  8176. "error": null,
  8177. "hide": 0,
  8178. "includeAll": false,
  8179. "label": "Datasource",
  8180. "multi": false,
  8181. "name": "ds",
  8182. "options": [],
  8183. "query": "grafana-azure-monitor-datasource",
  8184. "queryValue": "",
  8185. "refresh": 1,
  8186. "regex": "",
  8187. "skipUrlSync": false,
  8188. "type": "datasource"
  8189. },
  8190. {
  8191. "allValue": null,
  8192. "current": {},
  8193. "datasource": "$ds",
  8194. "definition": "subscriptions()",
  8195. "description": null,
  8196. "error": null,
  8197. "hide": 0,
  8198. "includeAll": false,
  8199. "label": "Subscription",
  8200. "multi": false,
  8201. "name": "sub",
  8202. "options": [],
  8203. "query": "subscriptions()",
  8204. "refresh": 1,
  8205. "regex": "",
  8206. "skipUrlSync": false,
  8207. "sort": 0,
  8208. "tagValuesQuery": "",
  8209. "tags": [],
  8210. "tagsQuery": "",
  8211. "type": "query",
  8212. "useTags": false
  8213. },
  8214. {
  8215. "allValue": null,
  8216. "current": {},
  8217. "datasource": "$ds",
  8218. "definition": "ResourceGroups($sub)",
  8219. "description": null,
  8220. "error": null,
  8221. "hide": 0,
  8222. "includeAll": false,
  8223. "label": "Resource Group",
  8224. "multi": false,
  8225. "name": "rg",
  8226. "options": [],
  8227. "query": "ResourceGroups($sub)",
  8228. "refresh": 1,
  8229. "regex": "",
  8230. "skipUrlSync": false,
  8231. "sort": 0,
  8232. "tagValuesQuery": "",
  8233. "tags": [],
  8234. "tagsQuery": "",
  8235. "type": "query",
  8236. "useTags": false
  8237. },
  8238. {
  8239. "allValue": null,
  8240. "current": {
  8241. "selected": false,
  8242. "text": "Microsoft.Kusto/clusters",
  8243. "value": "Microsoft.Kusto/clusters"
  8244. },
  8245. "description": null,
  8246. "error": null,
  8247. "hide": 0,
  8248. "includeAll": false,
  8249. "label": "Name Space",
  8250. "multi": false,
  8251. "name": "ns",
  8252. "options": [
  8253. {
  8254. "selected": true,
  8255. "text": "Microsoft.Kusto/clusters",
  8256. "value": "Microsoft.Kusto/clusters"
  8257. }
  8258. ],
  8259. "query": "Microsoft.Kusto/clusters",
  8260. "skipUrlSync": false,
  8261. "type": "custom"
  8262. },
  8263. {
  8264. "allValue": null,
  8265. "current": {},
  8266. "datasource": "$ds",
  8267. "definition": "ResourceNames($sub, $rg, $ns)",
  8268. "description": null,
  8269. "error": null,
  8270. "hide": 0,
  8271. "includeAll": false,
  8272. "label": "Resource",
  8273. "multi": false,
  8274. "name": "resource",
  8275. "options": [],
  8276. "query": "ResourceNames($sub, $rg, $ns)",
  8277. "refresh": 1,
  8278. "regex": "",
  8279. "skipUrlSync": false,
  8280. "sort": 0,
  8281. "tagValuesQuery": "",
  8282. "tags": [],
  8283. "tagsQuery": "",
  8284. "type": "query",
  8285. "useTags": false
  8286. },
  8287. {
  8288. "allValue": null,
  8289. "current": {},
  8290. "datasource": "$ds",
  8291. "definition": "workspaces()",
  8292. "description": null,
  8293. "error": null,
  8294. "hide": 0,
  8295. "includeAll": false,
  8296. "label": "Workspace",
  8297. "multi": false,
  8298. "name": "ws",
  8299. "options": [],
  8300. "query": "workspaces()",
  8301. "refresh": 1,
  8302. "regex": "",
  8303. "skipUrlSync": false,
  8304. "sort": 0,
  8305. "tagValuesQuery": "",
  8306. "tags": [],
  8307. "tagsQuery": "",
  8308. "type": "query",
  8309. "useTags": false
  8310. }
  8311. ]
  8312. },
  8313. "time": {
  8314. "from": "now-12h",
  8315. "to": "now"
  8316. },
  8317. "timepicker": {},
  8318. "timezone": "",
  8319. "title": "Azure / Insights / Data Explorer Clusters",
  8320. "uid": "8UDB1s3Gk",
  8321. "version": 11
  8322. }