SOLVED

Log Analytics Workspace with Multiple subscription

%3CLINGO-SUB%20id%3D%22lingo-sub-324805%22%20slang%3D%22en-US%22%3ELog%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324805%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGood%20Day!%20I%20have%20couple%20doubts%20in%20Log%20analytics%20could%20you%20please%20help%20me%20to%20understand!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20to%20my%20understanding%20we%20can%20created%20a%20workspace%20with%20only%20one%20subscription.%20Which%20means%20the%20log%20analytics%20will%20monitor%20only%20the%20resource%20are%20part%20of%20that%20subscriptions.%20Am%20i%20right%3F%3C%2FP%3E%3CP%3E2.%20if%20i%20have%20multiple%20workspaces%20for%20multiple%20subscriptions%20then%20is%20that%20possible%20to%20bring%20all%20of%20them%20under%20one%20Dashboard%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-324805%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-328578%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-328578%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20I%20have%20said%20it%20is%20better%20to%20address%20each%20of%20these%20issues%20in%20separate%20threads%20as%20these%20questions%20are%20different%20from%20the%20original.%20When%20people%20search%20for%20answers%20will%20be%20impossible%20to%20find%20answers%20for%20threads%20that%20are%20for%20different%20thing.%20I%20will%20still%20answer%20though.%20You%20can%20run%20queries%20in%20Logs%20blade%20across%20multiple%20workspaces.%20There%20is%20no%20problem%20in%20that.%26nbsp%3B%20The%20views%20that%20come%20from%20SQL%20Analytics%20solution%20though%20will%20only%20show%20data%20from%20the%20workspace%20where%20the%20solution%20was%20deployed.%20The%20solutions%20built-in%20dashboards%20itself%20does%20not%20support%20providing%20multiple%20workspaces.%20You%20have%20a%20couple%20of%20options%3A%3C%2FP%3E%0A%3CUL%20style%3D%22list-style-position%3A%20inside%3B%22%3E%0A%3CLI%3EUse%20a%20single%20workspace%20to%20send%20all%20your%20data%20and%20deploy%20the%20solutions%20you%20use%20to%20that%20workspace%20only%3C%2FLI%3E%0A%3CLI%3EIf%20you%20want%20to%20visualize%20data%20across%20multiple%20workspaces%20you%20will%20not%20be%20able%20to%20do%20it%20with%20the%20built-in%20views%20for%20solutions%20but%20you%20can%20create%20your%20own%20dashboards%20via%20pinned%20queries%20to%20Azure%20Dashboards%20or%20Log%20Analytics%20Designer%20views.%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-328551%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-328551%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Stan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20i%20have%202%20workspaces%20for%20my%202%20subscriptions%2C%20i%20have%20enabled%20SQL%20Analytics%20solution%20on%20subscription%20A%20where%20i%20have%20my%20workspace%20A.%20and%20i%20am%20trying%20to%20get%20DTU%20percentage%20details%20from%20wokspace%20B%20which%20is%20in%20Subscription%20B%20by%20using%20Cross%20query%20but%20the%20LA%20does%20not%20give%20any%20result%20since%20it%20does%20not%20have%20the%20solution.%20Could%20you%20please%20help%20me%20to%20understand%20this%20behavior.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-327848%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-327848%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20is%20no%20special%20way%20to%20create%20a%20workspace%20for%20multiple%20subscriptions.%20The%20workspace%20is%20a%20workspace%20it%20is%20up%20to%20you%20to%20define%20the%20strategy%20how%20to%20use%20it.%20It%20is%20a%20matter%20of%20you%20configure%20data%20to%20be%20send%20to%20LA%20workspace%3A%3C%2FP%3E%0A%3CP%3E-%20Diagnostic%20logs%20support%20sending%20data%20from%20any%20services%20in%20any%20subscriptions%20to%20LA%20workspace%20as%20long%20as%20it%20is%20in%20the%20same%20tenant%3C%2FP%3E%0A%3CP%3E-%20Azure%20Activity%20logs%20from%20every%20subscriptions%20can%20be%20send%20to%20LA%20workspace%20as%20long%20as%20it%20is%20in%20the%20same%20tenant%3C%2FP%3E%0A%3CP%3E-%20LA%20agent%20extension%20can%20be%20installed%20on%20any%20vm%20in%20any%20subscriptions%20to%20send%20data%20to%20LA%20workspace%20as%20long%20as%20it%20is%20in%20the%20same%20tenant.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-327845%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-327845%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20my%20opinion%20there%20is%20no%20difference%20if%20you%20are%20one%20customer%20or%20you%20are%20partner%20that%20manages%20100%20customers.%20The%20structure%20is%20the%20same%20-%20resources%20are%20created%20per%20tenant%20within%20the%20tenant's%20subscriptions.%20You%20can%20use%20various%20tools%20and%20methods%20to%20manage%20them%20at%20scale%20like%20CI%2FCD%2C%20single%20ITSM%20tool%2C%20etc.%20I%20would%20suggest%20to%20open%20new%20thread%20for%20each%20question%20that%20you%20have.%20That%20will%20be%20easier%20for%20others%20to%20follow%20and%20search.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-327784%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-327784%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9172%22%20target%3D%22_blank%22%3E%40Stanislav%20Zhelyazkov%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20is%20the%20Log%20Analytics%20story%20for%26nbsp%3BCSPs%20who%20have%20multiple%20tenants%20to%20monitor%20on%20and%20report%20data%20to%20multiple%20customers%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-327757%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-327757%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Stan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20gone%20through%26nbsp%3B%20the%20link%20you%20provided%20for%20single%20workspace%20with%20multiple%20subscription.%20But%20the%20article%20says%20how%20to%20cross%20query%20multiple%20workspace%20for%20data%2C%20but%20do%20not%20see%20how%20to%20created%20single%20workspace%20for%20multiple%20subscription.%20Could%20you%20please%20suggest.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-325595%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-325595%22%20slang%3D%22en-US%22%3E%3CP%3EI%20will%20probably%20not%20able%20to%20cover%20everything%20around%20pricing%20here%20but%20I%20will%20try%20to%20give%20a%20little%20bit%20explanation.%20Log%20Analytics%20is%20part%20of%20Azure%20Monitor.%20With%20both%20Azure%20Monitor%20and%20Log%20Analytics%20you%20pay%20for%20what%20you%20use.%20Check%20the%20official%20pricing%20pages%20but%20for%20log%20analytics%20specifically%20you%20will%20get%20charged%20per%20ingested%20GB.%20Keep%20in%20mind%20that%20there%20are%20some%20other%20services%20in%20Azure%20like%20Azure%20Security%20Center%20that%20use%20Log%20Analytics%20as%20platform%20for%20storing%20logs.%20When%20those%20services%20use%20it%20as%20platform%20you%20may%20have%20different%20pricing.%20For%20example%20ASC%20pricing%20is%20per%20node%20and%20for%20each%20node%20you%20get%20certain%20amount%20of%20data%20you%20can%20store%20for%20free%20(basically%20you%20pay%20for%20it%20via%20the%20ASC%20node%20price)%20but%20if%20you%20exceed%20that%20daily%20limit%20you%20will%20have%20to%20pay%20for%20the%20amount%20you%20have%20exceeded%20via%20the%20standard%20Log%20Analytics%20pricing.%20Azure%20Automation%20also%20have%20a%20few%20services%20where%20you%20get%20some%20data%20for%20free%20but%20for%20other%20you%20have%20to%20pay%20per%20GB.%20All%20this%20information%20is%20available%20on%20Azure%20Pricing%20page.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20this%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-325529%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-325529%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20Stan.%20it%20was%20really%20helpful%20and%20will%20start%20exploring%20things%20accordingly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20Curious%2C%20there%20are%20so%20many%20solutions%20available%20at%20Log%20analytics%20what%20my%20doubt%20here%20is%2C%20all%20these%20solutions%20are%20free%20with%20Log%20analytics%20plan%20or%20it%20will%20cost%20separate.%20if%20it%20is%20a%20bundle%20with%20a%20Log%20analytics%20plan%20then%20which%20plan%20will%20have%20the%20most%20coverage.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-324832%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-324832%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EA%20single%20Log%20Analytics%20workspace%20can%20monitor%20resources%20in%20all%20of%20your%20subscriptions%20as%20long%20as%20they%20are%20under%20the%20same%20Tenant.%20For%20example%20if%20you%20have%20Azure%20SQL%20database%20in%20Subscription%20A%20and%20Log%20Analytics%20Workspace%20in%20Subscription%20B%20you%20can%20send%20the%20logs%20and%20metrics%20from%20that%20Azure%20SQL%20database%20to%20the%20Log%20Analytics%20workspace.%3C%2FP%3E%0A%3CP%3EEven%20if%20you%20opt%20in%20to%20having%20multiple%20workspaces%20Log%20Analytics%20supports%20querying%20multiple%20workspaces%20at%20the%20same%20time.%20Of%20course%20there%20is%20a%20limit.%20You%20can%20query%20maximum%20of%20100%20workspaces%20together.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Flog-query%2Fcross-workspace-query%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Flog-query%2Fcross-workspace-query%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20queries%20that%20you%20create%20in%20Logs%20view%20can%20be%20pinned%20to%20Azure%20dashboards.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-889888%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-889888%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9172%22%20target%3D%22_blank%22%3E%40Stanislav%20Zhelyazkov%3C%2FA%3E%26nbsp%3B%20when%20you%20say%20that%20a%20single%20Log%20Analytics%20Workspace%20can%20monitor%20ALL%20of%20your%20subscriptions%2C%20is%20there%20a%20limit%20to%20the%20number%20of%20subscriptions%3F%20Lets%20say%20I%20need%20to%20monitor%2010%2C000%20subs%20in%20a%20single%20workspace.%20Whether%20or%20not%20I%20should%20do%20that%20aside%2C%20could%20it%20be%20done%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-890439%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-890439%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F419102%22%20target%3D%22_blank%22%3E%40mattmackay%3C%2FA%3E%20Yes%2C%20there%20is%20no%20limit%20on%20the%20data%20you%20can%20send.%20You%20might%20have%20trouble%20creating%20that%20many%20subscriptions%20though.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-893595%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-893595%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F271071%22%20target%3D%22_blank%22%3E%40S_I_Kaleel%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EI%20have%20done%20this%20for%20my%205%20subscriptions.%3C%2FP%3E%3CP%3ENow%20let%20me%20share%20my%20experience.%20First%20Select%20the%20subscription%20under%20that%20you%20want%20to%20create%20you%20Centralized%20Workspace.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EBut%20before%20doing%20this%20make%20sure%20you%20have%20all%20subscriptions%20created%20under%20same%20tenant.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EIf%20not%2C%20then%20there%20is%20no%20way%20to%20monitor%20Azure%20Resources.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3ECreate%20Azure%20Log%20Analytics%3C%2FLI%3E%3CLI%3EConnect%20All%20the%20VMs%20through%20portal%2C%20SCCM%2C%20PowerShell%2C%20Ansible%20or%20any%20other%20preferable%20way%2C%20up%20to%20you.%3C%2FLI%3E%3CLI%3ENow%20Connect%20all%20the%20Azure%20resources%20to%20workspace%20by%20going%20to%20Azure%20Resources%20page.%3C%2FLI%3E%3CLI%3ECreate%20Action%20group%20in%20same%20RG%20in%20which%20you%20have%20created%20Azure%20Workspace.%3C%2FLI%3E%3CLI%3EWrite%20KQL%20queries%20for%20alerts.%3C%2FLI%3E%3C%2FOL%3E%3CP%3EAll%20Done!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20there%20is%20one%20demerit%20here%20you%20cannot%20monitor%20cross%20subscription%20storage%20account.%20No%20matter%20it%20is%20under%20same%20AD%20tenant%20or%20not.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EComing%20to%20pricing%2C%20New%20cost%20version%20of%20ALA%20generally%20charge%20on%20Data%20insertion.%3C%2FP%3E%3CP%3ESo%20the%20lesser%20you%20insert%20the%20lesser%20you%20have%20to%20pay.%3C%2FP%3E%3CP%3ESolution%20is%20maximum%20free%20but%20if%20you%20are%20using%20any%20solution%20then%20check%20if%20it%20charge%20for%20each%20device%2Fresource.%20If%20so%20then%20create%20a%20free%20ALA%20and%20use%20this%20to%20leverage%20the%20same%2C%20since%20we%20can%20collect%20free%20data%20but%20here%20you%20have%20to%20make%20sure%20data%20is%20not%20more%20than%205%20GiBs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894139%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894139%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F184511%22%20target%3D%22_blank%22%3E%40Gourav%20Kumar%3C%2FA%3E%26nbsp%3BAnd%20if%20we%20are%20using%20Azure%20Lighthouse%3F%20I%20thought%20that%20was%20the%20goal%20for%20Azure%20lighthouse...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-896185%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-896185%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F97636%22%20target%3D%22_blank%22%3E%40Lucas%20De%20Carli%3C%2FA%3E%26nbsp%3BTo%20be%20very%20frank%20here%2C%20I%20have%20not%20tested%20this%20Azure%20Light%20yet.%3C%2FP%3E%3CP%3ESo%20not%20sure%20about%20this%20feature.....%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-896216%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20Workspace%20with%20Multiple%20subscription%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-896216%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F97636%22%20target%3D%22_blank%22%3E%40Lucas%20De%20Carli%3C%2FA%3E%20Azure%20Lighthouse%20does%20not%20change%20the%20architecture%20of%20how%20to%20manage%20your%20customers.%20You%20still%20create%20workspace%20per%20customer%20in%20their%20own%20subscription.%20Lighthouse%20allows%20just%20easier%20management%20at%20scale%20of%20multiple%20tenants%20both%20from%20UI%20perspective%20and%20authentication%20for%20automation.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi Everyone,

 

Good Day! I have couple doubts in Log analytics could you please help me to understand!

 

1. to my understanding we can created a workspace with only one subscription. Which means the log analytics will monitor only the resource are part of that subscriptions. Am i right?

2. if i have multiple workspaces for multiple subscriptions then is that possible to bring all of them under one Dashboard?

 

Thanks in advance

15 Replies
Best Response confirmed by Stanislav Zhelyazkov (MVP)
Solution

Hi,

A single Log Analytics workspace can monitor resources in all of your subscriptions as long as they are under the same Tenant. For example if you have Azure SQL database in Subscription A and Log Analytics Workspace in Subscription B you can send the logs and metrics from that Azure SQL database to the Log Analytics workspace.

Even if you opt in to having multiple workspaces Log Analytics supports querying multiple workspaces at the same time. Of course there is a limit. You can query maximum of 100 workspaces together.

https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/cross-workspace-query

 

The queries that you create in Logs view can be pinned to Azure dashboards.

 

Thank you Stan. it was really helpful and will start exploring things accordingly.

 

Just Curious, there are so many solutions available at Log analytics what my doubt here is, all these solutions are free with Log analytics plan or it will cost separate. if it is a bundle with a Log analytics plan then which plan will have the most coverage.

 

Thanks in advance.

I will probably not able to cover everything around pricing here but I will try to give a little bit explanation. Log Analytics is part of Azure Monitor. With both Azure Monitor and Log Analytics you pay for what you use. Check the official pricing pages but for log analytics specifically you will get charged per ingested GB. Keep in mind that there are some other services in Azure like Azure Security Center that use Log Analytics as platform for storing logs. When those services use it as platform you may have different pricing. For example ASC pricing is per node and for each node you get certain amount of data you can store for free (basically you pay for it via the ASC node price) but if you exceed that daily limit you will have to pay for the amount you have exceeded via the standard Log Analytics pricing. Azure Automation also have a few services where you get some data for free but for other you have to pay per GB. All this information is available on Azure Pricing page.

 

I hope this helps.

Hi Stan

 

I gone through  the link you provided for single workspace with multiple subscription. But the article says how to cross query multiple workspace for data, but do not see how to created single workspace for multiple subscription. Could you please suggest.

 

Thanks in advance. :)

Hi @Stanislav Zhelyazkov,

 

What is the Log Analytics story for CSPs who have multiple tenants to monitor on and report data to multiple customers?

 

Thanks.

To my opinion there is no difference if you are one customer or you are partner that manages 100 customers. The structure is the same - resources are created per tenant within the tenant's subscriptions. You can use various tools and methods to manage them at scale like CI/CD, single ITSM tool, etc. I would suggest to open new thread for each question that you have. That will be easier for others to follow and search.

There is no special way to create a workspace for multiple subscriptions. The workspace is a workspace it is up to you to define the strategy how to use it. It is a matter of you configure data to be send to LA workspace:

- Diagnostic logs support sending data from any services in any subscriptions to LA workspace as long as it is in the same tenant

- Azure Activity logs from every subscriptions can be send to LA workspace as long as it is in the same tenant

- LA agent extension can be installed on any vm in any subscriptions to send data to LA workspace as long as it is in the same tenant.

 

 

Hi Stan

 

For example, i have 2 workspaces for my 2 subscriptions, i have enabled SQL Analytics solution on subscription A where i have my workspace A. and i am trying to get DTU percentage details from wokspace B which is in Subscription B by using Cross query but the LA does not give any result since it does not have the solution. Could you please help me to understand this behavior. 

As I have said it is better to address each of these issues in separate threads as these questions are different from the original. When people search for answers will be impossible to find answers for threads that are for different thing. I will still answer though. You can run queries in Logs blade across multiple workspaces. There is no problem in that.  The views that come from SQL Analytics solution though will only show data from the workspace where the solution was deployed. The solutions built-in dashboards itself does not support providing multiple workspaces. You have a couple of options:

  • Use a single workspace to send all your data and deploy the solutions you use to that workspace only
  • If you want to visualize data across multiple workspaces you will not be able to do it with the built-in views for solutions but you can create your own dashboards via pinned queries to Azure Dashboards or Log Analytics Designer views.

@Stanislav Zhelyazkov  when you say that a single Log Analytics Workspace can monitor ALL of your subscriptions, is there a limit to the number of subscriptions? Lets say I need to monitor 10,000 subs in a single workspace. Whether or not I should do that aside, could it be done?

@mattmackay Yes, there is no limit on the data you can send. You might have trouble creating that many subscriptions though.

Hi @S_I_Kaleel,

I have done this for my 5 subscriptions.

Now let me share my experience. First Select the subscription under that you want to create you Centralized Workspace. 

But before doing this make sure you have all subscriptions created under same tenant.

If not, then there is no way to monitor Azure Resources. 

 

  1. Create Azure Log Analytics
  2. Connect All the VMs through portal, SCCM, PowerShell, Ansible or any other preferable way, up to you.
  3. Now Connect all the Azure resources to workspace by going to Azure Resources page.
  4. Create Action group in same RG in which you have created Azure Workspace.
  5. Write KQL queries for alerts.

All Done!

 

Now there is one demerit here you cannot monitor cross subscription storage account. No matter it is under same AD tenant or not.

 

Coming to pricing, New cost version of ALA generally charge on Data insertion.

So the lesser you insert the lesser you have to pay.

Solution is maximum free but if you are using any solution then check if it charge for each device/resource. If so then create a free ALA and use this to leverage the same, since we can collect free data but here you have to make sure data is not more than 5 GiBs.

 

Hope this helps :)

@Gourav Kumar And if we are using Azure Lighthouse? I thought that was the goal for Azure lighthouse...

@Lucas De Carli To be very frank here, I have not tested this Azure Light yet.

So not sure about this feature.....

@Lucas De Carli Azure Lighthouse does not change the architecture of how to manage your customers. You still create workspace per customer in their own subscription. Lighthouse allows just easier management at scale of multiple tenants both from UI perspective and authentication for automation.