Is there a way to create a direct link to a specific log in Application Insights?
Asked by
MysteriousPineapple34
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?
Answers
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.
Reply to this answer
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.
Reply to this answer
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?
Reply to this answer
Add your answer
Answers are reviewed before publication.
ShortcutSeeker88: 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.