elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.73k stars 8.14k forks source link

Editable filters #1583

Closed jimmyjones2 closed 8 years ago

jimmyjones2 commented 9 years ago

Would be great if filters were editable in the Kibana 4 Discover page, like they were in Kibana 3. This allows you quickly add a filter for a field of interest, but change the value to one not in the current set, or something else you're interested in. I know it can be done with the query, but would be better for people scared/too lazy for that!

vasylnakvasiuk commented 9 years ago

+1

taraslayshchuk commented 9 years ago

+1

SQiShER commented 9 years ago

+1

kputland commented 9 years ago

+1

zzzuzik commented 9 years ago

+1

shumkov commented 9 years ago

:+1:

pemontto commented 9 years ago

:+1:

maheshnayak1 commented 9 years ago

+1

KZachariassen commented 9 years ago

+1 - running over 15 kibana 3 installations, just because filter editing is missing in 4 !!!

jomar83 commented 9 years ago

+1

trixpan commented 9 years ago

And so the mighty people said:

You shall bring back the Filters or the wrath of 350000 slugs shall invade you garden

[ Elasticus 15:08 ]

cschotke commented 9 years ago

+1

ojohn commented 9 years ago

Please add this! Kibana 4 is not usable because of this missing feature right now!

chaoranxie commented 9 years ago

+1

Ginja commented 9 years ago

+1

nomadicj commented 9 years ago

+1

jwheare commented 9 years ago

+1

RaftechNL commented 9 years ago

+1

RafPe commented 9 years ago

+1

gbuyitjames commented 8 years ago

+1

ninjada commented 8 years ago

+1

just echoing the sentiment. recently upgraded to kibana4 to enjoy the improved design but to find it did away with the greatest usability feature = sadface.

ghost commented 8 years ago

+1

ghost commented 8 years ago

+1

Leon-Lj commented 8 years ago

+1

fbaligand commented 8 years ago

Yes ! Very happy to learn that this issue is now done !

elvarb commented 8 years ago

Seeing in the pr that the editable filter works that you have to create a valid json and not a simple jql, is it true?

From a usability standpoint having it a json means that it is much harder for the general user to work with it.

fbaligand commented 8 years ago

I totally agree with @elvarb. A lot of people using Kibana is not comfortable with a json filter. The strength of Kibana 3 filters was its simplicity to use.

It would be perfect if in Kibana 4, it is possible to edit a simple filter expression (like a in Kibana 3) by default, and using an "Advanced" button (or something like this), we can edit the json filter.

spalger commented 8 years ago

@fbaligand @elvarb check out https://github.com/elastic/kibana/issues/5249

ServerNinja commented 8 years ago

+1

superpaul commented 8 years ago

+1 Current workaround is to use the search field and it would be really nice to have editable filters not just "enable", "remove" and "toggle" here's what I used for workaround editable filters from search field "field": "query message *"

gloyka commented 8 years ago

+1

phss commented 8 years ago

+1

stephanmitchev commented 8 years ago

+1*10^1000 On Nov 20, 2015 6:42 AM, "Paulo Schneider" notifications@github.com wrote:

+1

— Reply to this email directly or view it on GitHub https://github.com/elastic/kibana/issues/1583#issuecomment-158370781.

warpkanal commented 8 years ago

Thanks alot for that feature in K4.3, like it!!

mspangdal commented 8 years ago

I'm using Kibana 4.3 .. how do I enable adding filters on dashboards? Theres no button to add a "blank" filter, and editing filters that appear by clicking a aggregation opens up a editable JSON.. This functionality was much better in Kibana 3, just reuse the search box?

mckennab commented 8 years ago

Hey Magnus,

Welcome to Kibana 4. I +1ed above when I first upgraded to Kibana 4. I still do think we need to correct the regression and allow editing of a filter like we could do in Kibana 3, but in the meantime, I have figured out how to get along.

Instead of editing the filters, you need to start using the query bar that is located above the filters. It contains * to match everything by default. Just type in the text that you want in the value of the Filter. The query is case insensitive for values by default and it will find the string in your records. You can also just search a specific file by including the Field: in the query, but field names ARE case sensitive. Breed: poodle

Note, Quote the string if it contains separators, the match will be an OR on each token. black cat will locate any record that contains black OR cat, case insensitive. "black cat" matches the full string Separators are not just spaces. (Word Delimiter Token Filter: by default, all non alpha-numeric characters) 127:0:0:1 is treated as 4 tokens. If you are searching in a specific field, and you know that your value contains separators, search on the Field.raw: Elasticsearch is so smart, when it sees those separators in the value, it will treat the value as an array for you and match only on the separate values in the array.

Once the records are retrieved, Expand the quick visualization on the field that you want to filter on. Because of the query, it should list the value you want, and you can add the filter from there.

Of course, you cannot add a filter this way, if your data does not contain a record with a matching value, but in this case, you can see from the query, that the value is not in your data.

Search for examples of how to use the query syntax and you should be able to quickly locate the records you need. Using the query is a different way of doing the same thing.

ɐuuǝʞɔɯ qoq

Bob McKenna | SaaS Operational Services (SOS) IBM Cloud | SaaS Operational Services ▪ IBM Software Group


Email: mckennab@us.ibm.com | officE: 720.395.4950 | mobilE: 919.749.9801

From: Magnus Spångdal notifications@github.com To: elastic/kibana kibana@noreply.github.com Cc: Bob McKenna/Raleigh/IBM@IBMUS Date: 12/17/2015 03:25 AM Subject: Re: [kibana] Editable filters (#1583)

I'm using Kibana 4.3 .. how do I enable adding filters on dashboards? Theres no button to add a "blank" filter, and editing filters that appear by clicking a aggregation opens up a editable JSON.. This functionality was much better in Kibana 3, just reuse the search box?

— Reply to this email directly or view it on GitHub.

mspangdal commented 8 years ago

Throwing all filters in the search box quickly reduces the maintainability of a dashboard...
Thanks for posting the workaround though, I figured it out too after some tinkering - it is however a regression in the UX from Kibana 3! :disappointed:

sutyrin commented 8 years ago

+1

David-seattle commented 8 years ago

+1

ErnestOrt commented 8 years ago

+100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

sutyrin commented 8 years ago

@ErnestOrt, I am already using this in 4.3.1 ;)

ErnestOrt commented 8 years ago

@spacediver, but can you set filters and unable and disable like this:

image

because although it's similar than this, it's not really the same:

image

In our case it's really useful in order to track information in a user level.

Anyway, I'm going to check last version as you suggest and let's see if it's there

ErnestOrt commented 8 years ago

@spacediver, Bth, Thanks Pavel ;)

davecampbell commented 8 years ago

+1

GlenRSmith commented 8 years ago

Should the PR pending label be removed?

tylersmalley commented 8 years ago

@GlenRSmith yeah, just removed. Thanks.

sabw8217 commented 8 years ago

+1

kirPoNik commented 8 years ago

+1

glebsts commented 8 years ago

Damn I need it.

gabereiser commented 8 years ago

+1