I've tried various methods but can't seem to make it work. My goal is to provide a direct link to a specific log in Application Insights. However, every time I try, the link just redirects me to the general "queries hub," which is frustrating. Is there a way to link directly to the result of a specific query?
3 Answers
To get the result back, you'd use the API with your query. Just so you know, if you're aiming for a clickable URL, ensure you're formatting it right. Could you try that and see if it redirects correctly?
Check out the URL format generated from a custom query alert. It usually contains a link that goes directly to the query results you're looking for.
Are you asking about having a private endpoint for your Application Insights? If that's the case, you might need to set it up differently.

I'm actually looking for a clickable URL that takes me to this specific log: `union traces, exceptions | where timestamp == @{item()?[\'timestamp\']}`. I’ve tried encoding it but keep ending up at the generic hub.