- Kibana Guide: other versions:
- What is Kibana?
- What’s new in 7.10
- Quick start
- Set up
- Discover
- Dashboard
- Edit dashboards
- Explore dashboard data
- Create custom dashboard actions
- Share dashboards
- Tutorials
- Compare sales over time with Lens
- Create your first visualization with Vega-Lite
- Update Kibana filters from Vega
- Create time series visualizations with Timelion
- Timelion tutorial: Create visualizations with mathematical functions
- Create visualizations with conditional logic and tracking trends using Timelion
- Aggregation reference
- Vega reference
- Canvas
- Maps
- Machine learning
- Graph
- Observability
- APM
- Elastic Security
- Dev Tools
- Stack Monitoring
- Stack Management
- Fleet
- Reporting
- Alerting and Actions
- REST API
- Kibana plugins
- Accessibility
- Breaking Changes
- Release Notes
- Kibana 7.10.2
- Kibana 7.10.1
- Kibana 7.10.0
- Kibana 7.9.3
- Kibana 7.9.2
- Kibana 7.9.1
- Kibana 7.9.0
- Kibana 7.8.1
- Kibana 7.8.0
- Kibana 7.7.1
- Kibana 7.7.0
- Kibana 7.6.2
- Kibana 7.6.1
- Kibana 7.6.0
- Kibana 7.5.2
- Kibana 7.5.1
- Kibana 7.5.0
- Kibana 7.4.2
- Kibana 7.4.1
- Kibana 7.4.0
- Kibana 7.3.2
- Kibana 7.3.1
- Kibana 7.3.0
- Kibana 7.2.1
- Kibana 7.2.0
- Kibana 7.1.1
- Kibana 7.1.0
- Kibana 7.0.1
- Kibana 7.0.0
- Kibana 7.0.0-rc2
- Kibana 7.0.0-rc1
- Kibana 7.0.0-beta1
- Kibana 7.0.0-alpha2
- Kibana 7.0.0-alpha1
- Developer guide
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Create filters from a map
editCreate filters from a map
editYou can create two types of filters by interacting with your map:

Spatial filters
editA spatial filter narrows search results to documents that either intersect with, are within, or do not intersect with the specified geometry.
You can create spatial filters in two ways:
-
Click the tool icon
, and then draw a polygon or bounding box on the map to define the spatial filter.
- Click Filter by geometry in a locked tooltip, and then use the feature’s geometry for the spatial filter.
Spatial filters have the following properties:
- Geometry label enables you to provide a meaningful name for your spatial filter.
- Spatial field specifies the geo_point or geo_shape field used to determine if a document matches the spatial relation with the specified geometry.
- Spatial relation determines the spatial relation operator to use at search time. Only available when Spatial field is set to geo_shape.
- Action specifies whether to apply the filter to the current view or to a drilldown action. Only available when the map is a panel in a dashboard with drilldowns.
Phrase filters
editA phrase filter narrows search results to documents that contain the specified text.
You can create a phrase filter by clicking the plus icon in a locked tooltip.
If the map is a dashboard panel with drilldowns, you can apply a phrase filter to a drilldown by selecting the drilldown action.
On this page
Was this helpful?
Thank you for your feedback.