Application-Insights-Workbooks
Application-Insights-Workbooks copied to clipboard
Cannot load Deprecated Workbook Retrieval Tool correctly
Hi! I am trying to run the Deprecated Workbook Retrieval Tool as described here - https://github.com/microsoft/Application-Insights-Workbooks/blob/master/Documentation/LegacyAI/DeprecatedWorkbookRetrievalTool.md.
When I try to load it in a new Workbook, I get an error. After further review, there are unnecessary double quotes in some locations. After I removed the double quotes (Using Visual Studio Code) it loads. After selecting a Subscription and Resource Group though, another section has an error where it says an API parameter must be added and the Subscription path was not passed. I added the subscription path manually and a API, but nothing else loads.
Can you take a look please?
Thank you, Jeff Kozloff
Have the exactly same problem. I would like to retrieve deprecated workbooks (shared), but scripts doesn't work.
how exactly are you using the files that you're getting errors?
-
open a new empty workbook
- from azure monitor for private workbooks,
- from the app insights resource for legacy workbooks
-
go into edit mode, and advanced mode
-
open the correct file from github, in raw mode, so you only have the workbook content, for example
- private - https://raw.githubusercontent.com/microsoft/Application-Insights-Workbooks/master/Documentation/LegacyAI/PrivateWorkbookConversion.workbook
- legacy - https://raw.githubusercontent.com/microsoft/Application-Insights-Workbooks/master/Documentation/LegacyAI/LegacyWorkbookConversion.workbook
-
paste that into advanced mode JSON box in workbooks,
-
press apply
when i do this i see no issues. is there some other set of steps you are doing that gets extra quotes?
Hi @gardnerjr ! Thanks for the follow-up. The links you provided just worked. The difference is:
I go to this page in Github - https://github.com/microsoft/Application-Insights-Workbooks/blob/master/Documentation/LegacyAI/DeprecatedWorkbookRetrievalTool.md
I click on Private Workbook Conversion link
When I do this, I copy the code form that screen and paste it into the editor, I get the following failure -
HOWEVER, if I use the Raw links you provided above, I get no error. Not sure why they are different but maybe you can link to the raw links you listed in your reply above instead in the md file and that will help others.
Thanks!
Jeff Kozloff
Just to clarify, this is the screen that causes errors in the JSON -
Need to click on "Raw" button for proper format -
Hope this helps others!
Thanks! Jeff
yes, the screen that you see in github's normal view is rendering the workbook json as text/markdown, so if you copy/paste from there strange things can happen. you need to go to the raw view explicitly.
@tonykslee can you update the instructions to give the literal instructions (or links?) for the raw files instead of just "(raw)" in parens? see my explicit instructions above that unblocked/clarified here.