@Lord Wolfenstein I came across your question as I was asking the same question myself.
I've written up a blog post with the approach I've taken: https://stuartleeks.com/posts/deep-linking-to-queries-in-application-insights-with-python/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In my Application Insights logs I can click this and get deep link I can share with everyone that that have access.
In the end of the URL I get there is /q/ followed by an unreadable string that is the encoded query. If I know the query is
traces
| where customDimensions.message_uuid contains "my-uuid"
| project
message,
timestamp,
message_uuid = customDimensions.message_uuid
how do I encode it using Python to fit in the deep link azure give me?
What I am trying to achieve is a way to generate simple clickable links that take me directly to the error if I know the query.
@Lord Wolfenstein I came across your question as I was asking the same question myself.
I've written up a blog post with the approach I've taken: https://stuartleeks.com/posts/deep-linking-to-queries-in-application-insights-with-python/