hello,
i think it would be very useful for the ability to see past queries / filters that have been used. this could be global or per dashboard.
thanks,
tacolover101
feature request - add historic log of queries
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: feature request - add historic log of queries
The Audit Log with "Log User Queries" enabled should be able to provide that. Albeit it's not the most accessible thing and doesn't do non-Admin users any good.
How in your use case would this information be displayed visually? We're a bit hung up on how you would do that without seriously cluttering up the dashboard.
When a query is saved, the user labels it which makes displaying it relatively easy; Just show the label and maybe date created. When it comes to an arbitrary Elasticsearch query, trying to concisely visualize something like a lengthy Lucene search and a dozen odd filters sounds tricky. Timestamp would be one option, but that's not really in the spirit of what the feature would be providing; An accessible way to fix "oh shoot what was that Apache query with foo=bar in the POST".
How in your use case would this information be displayed visually? We're a bit hung up on how you would do that without seriously cluttering up the dashboard.
When a query is saved, the user labels it which makes displaying it relatively easy; Just show the label and maybe date created. When it comes to an arbitrary Elasticsearch query, trying to concisely visualize something like a lengthy Lucene search and a dozen odd filters sounds tricky. Timestamp would be one option, but that's not really in the spirit of what the feature would be providing; An accessible way to fix "oh shoot what was that Apache query with foo=bar in the POST".
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: feature request - add historic log of queries
perhaps have it be a JS expand, located under the current query, for the past entries that have been typed in the query. if it's already in the audit log then that's a great place to pull the data from 
i don't think it needs to show more than 3-5 entries, but perhaps a JS pop-out to avoid cluttering the main dashboard? (just throwing an idea out there)
the main reason this becomes useful is on a day to day basis is you may be analyzing the same data set for x problematic server, and it helps to have a 'quick' link to get back to where you were with the current dashboard.
i don't think it needs to show more than 3-5 entries, but perhaps a JS pop-out to avoid cluttering the main dashboard? (just throwing an idea out there)
the main reason this becomes useful is on a day to day basis is you may be analyzing the same data set for x problematic server, and it helps to have a 'quick' link to get back to where you were with the current dashboard.
Re: feature request - add historic log of queries
Filed under ID 11540. We chatted a bit about this, and it'd actually be easier to just take a "snapshot" of the dashboard every time a new one is rendered and store that somewhere like a "history". Each user gets their own history with a timestamp and can backtrack to previous views.
It's worth mentioning that NLS already remembers previous searches, though this isn't the exact functionality requested:
It's worth mentioning that NLS already remembers previous searches, though this isn't the exact functionality requested:
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/