-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to add a new filter explicitly in the UI #5250
Comments
I'll +1 this, it'd make things easier than forcing users to pick things from discover/other. |
It'd be great if there was a copy function for existing filters as well, which may make this easier than having a user understand exactly what they want to create a new filter on. ie - Copy existing filter (Yes it is simple to retype that, but it's simpler for a user to not understand what the |
I've been looking into implementing this feature in Kibana 4.5 and the one thing I am unsure is how to get the default index pattern for the running instance. It seems like I can only get it from the existing filters. I've looked at the $scope variable and the application state but couldn't find it there. Does anyone know if the default index pattern is stored somewhere where it can be queried? Thanks! |
@srbdev you can get it from the
|
@Bargs Thanks, that worked! I have another question: what would you suggest for a basic/blank filter query to start the new filter with? Right now I use a simple match on a timestamp for the current time (not very useful...). |
Hmmm, sorry I'm not really sure. If you don't actually want to filter anything by default you could use a match_all query. |
I think this has been fixed. We have both the new filter bar (albiet there is a bug currently with when it shows up: #14076, but it's supposed to show up all the time) which has Going to close, re-open if I missed anything! |
Right now to add a new filter, you have to do that from a specific field in Discover or chart in Visualize/Dashboard. With editable filters (#1583), it is now useful to add a new filter and simply paste in its definition.
Right now, there is no obvious place to do that, since the filter bar does not appear unless one filter is already applied, so tackling this will require rethinking the filter bar.
The text was updated successfully, but these errors were encountered: