I just got back from my vacation, and what an amazing vacation I had! One week in the Norwegian mountains, one the Swedish archipelago, and the last one in Tuscany in Sweden. Amazing! Obviously, I took a break from the blog during the summer, but now I’m back with many drafts I need to polish and publish!
Right before I went on vacation I recorded a little video on how to pin charts to the Azure portal if the query doesn’t yield a result at the time. I completely forgot about the video, probably because it felt like a stupid thing to do a video on, but I’ve promised myself to stop second guessing myself and post all my writings and recordings nonetheless. Hope it helps somebody!
In short, when you run a query in the Log Analytics query editor you can only pin the generated chart or result to a dashboard if there are results. The pin button is simply missing when there are o results. What you can do, is find a way to generate a result, pin the chart, then go to the dashboard and edit the query to your liking.
Here is the video demonstrating the above