humio / issues

Issue Tracker for Humio
4 stars 2 forks source link

Feature Request - Permalink for saved queries #67

Open Noloxs opened 5 years ago

Noloxs commented 5 years ago

Being able to get a permanent link for a saved query would be very useful for cases like documentation. The link should simply redirect the user to the latest version of the selected query.

Adding a copy permalink button to the saved query would also be helpful

mwl commented 5 years ago

You can perform a search for $MySavedQuery which will generate a unique url for your search, including time window etc.

Noloxs commented 5 years ago

Super. That definitely works for getting the query itself, but the time window that is set for the saved query is lost, which could be an issue for certain queries and live queries. So if the time window is unspecified, would use the time window defined in the saved query instead of defaulting to 24 hour static, that would help alot.

Also, using the search for $MySavedQuery() does not open the query itself, meaning that you are unable to change and save it.

mwl commented 5 years ago

Good point.

@anagrius What are your thoughts?

anagrius commented 5 years ago

Good point, indeed. It would mean that the search view would have to load the query in question by id, which it does not do today. Alternatively we make a separate "Permalink" that loads the query and redirects to the search view. Both have pros and cons. Let me think about it.

mwl commented 5 years ago

@Noloxs In the meantime what you're trying to achieve can more or less be solved by dashboards.