elastic / kibana

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

[maps] narrow single layer with filter pills #135404

Open walrusss opened 2 years ago

walrusss commented 2 years ago

Add the ability to use DSL syntax when adding a filter from map layer context Currently only KQL syntax is allowed.

For example, if i want to use script or math operations inside a filter, I am not able to do this.

elasticmachine commented 2 years ago

Pinging @elastic/kibana-gis (Team:Geo)

nreese commented 2 years ago

@walrusss

Can you clarify DSL? Do you mean Lucene query syntax?

You can change the syntax to Lucene by clicking kql text to the right of the input

Screen Shot 2022-06-29 at 6 29 14 AM
jsanz commented 2 years ago

I understand @walrusss is referring to the ability in Kibana search bar filters to provide a custom Elasticsearch query

image

Also, I think @walrusss posted this question in the Elastic forum where I recommended to come here :smile:

walrusss commented 2 years ago

Just to clarify. From maps application, the filter option from within the layer is only supports KQL or Lucene syntax:

filter kql x

It would be great if it will also support Elastic query DSL, like in the DISCOVER section:

edit as dsl

nreese commented 2 years ago

Thanks for clarifying. I have updated the title to reflect the request.

elasticmachine commented 1 year ago

Pinging @elastic/kibana-presentation (Team:Presentation)