This repository was archived by the owner on Nov 22, 2017. It is now read-only.
Add file system based saved searches.#263
Open
bd808 wants to merge 1 commit intorashidkpc:kibana-rubyfrom
bd808:feature/save-search
Open
Add file system based saved searches.#263bd808 wants to merge 1 commit intorashidkpc:kibana-rubyfrom bd808:feature/save-search
bd808 wants to merge 1 commit intorashidkpc:kibana-rubyfrom
bd808:feature/save-search
Conversation
A quick and dirty hack to add the ability to save searches to files on the file system. There are no permissions checks to see who can save, load or delete a search. The same list of searches is seen by all users of the instance. - Adds "Load" and "Save" buttons to side bar. - "Load" button retrieves a list of currently saved searches from server and displays a dialog that allows the user to choose a search to load into the current session or to delete. - "Save" prompts for a name and sends the current search hash to the server for storage under that name. If the current search started from a saved search, the same name will be pre-populated in the save dialog. - Adds restful GET, PUT and DELETE endpoints at /api/saved/:name for server side handling of storage/retrieval activities. Related to issue #114 at https://github.com/rashidkpc/Kibana
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A quick and dirty hack to add the ability to save searches to files on the
file system. There are no permissions checks to see who can save, load or
delete a search. The same list of searches is seen by all users of the
instance.
displays a dialog that allows the user to choose a search to load into the
current session or to delete.
for storage under that name. If the current search started from a saved
search, the same name will be pre-populated in the save dialog.
side handling of storage/retrieval activities.
Related to issue #114 at https://github.com/rashidkpc/Kibana
I won't be sad if this pull request is deemed to be duplicate, junk or crazy, but I thought there might be some folks out there who would like to use this or start their own hacks based on it.