﻿---
title: Drilldowns
description: Drilldowns open another dashboard, a URL, or Discover from a dashboard panel and keep the selected value, filters, and time range.
url: https://www.elastic.co/elastic/docs-builder/docs/4300/explore-analyze/dashboards/drilldowns
products:
  - Elastic Documentation
  - Kibana
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Drilldowns
A drilldown is a navigation action on a dashboard panel. When you select a value, it opens a destination you define: another dashboard, a URL, or **Discover**.
The destination keeps the context of that selection. That includes the value you selected, the filters on the dashboard, and the time range.
Selecting a value can also filter the dashboard you have open, for example when you select a slice or drag a time range. Add a drilldown when you want that same selection to open another view.

## Drilldown types

You can add three types of drilldown:
- **[Dashboard](https://www.elastic.co/elastic/docs-builder/docs/4300/explore-analyze/dashboards/create-dashboard-drilldown)**: Open another dashboard from a panel. For example, open a host dashboard from a summary dashboard, with a filter for the host name you selected.
- **[URL](https://www.elastic.co/elastic/docs-builder/docs/4300/explore-analyze/dashboards/create-url-drilldown)**: Open a website from a panel. For example, open a search page that includes the host name you selected.
- **[Discover](https://www.elastic.co/elastic/docs-builder/docs/4300/explore-analyze/dashboards/create-discover-drilldown)**: Open **Discover** from a visualization panel. For example, open the documents for one slice of a pie chart.

![Create drilldown flyout for a URL, with Single click selected](https://www.elastic.co/elastic/docs-builder/docs/4300/explore-analyze/images/kibana-dashboard_createDrilldown.png)


## Values that cannot open a drilldown

A drilldown uses a value from a field in the data source. You cannot filter or open a drilldown from a value created at query time, because that value has no field in the index. This includes a Lens formula, an aggregation result, and an ES|QL `EVAL` or `STATS` result.
<dropdown title="ES|QL example">
  In the following query, `status` does not exist in the index. The query creates `status` from `response.keyword`. For that reason, you cannot filter or open a drilldown from `status` in the resulting visualization.
  ```esql
  FROM kibana_sample_data_logs
  | STATS COUNT(*) BY response.keyword
  | EVAL status = CASE(
      response.keyword == "200", "ok",
      response.keyword == "503", "critical error",
      response.keyword == "404", "warning"
    )
  | KEEP status, `COUNT(*)`
  ```
  <applies-to>Elastic Cloud Serverless: Generally available</applies-to> <applies-to>Elastic Stack: Generally available since 9.5</applies-to> When you hover over a value in an ES|QL visualization, the chart explains that you cannot filter or open a drilldown from that value because it relies on a field created at query time.
  ![Tooltip on the critical error bar of an ES|QL chart. The tooltip says you cannot filter or drill down from a value created at query time.](https://www.elastic.co/elastic/docs-builder/docs/4300/explore-analyze/images/kibana-esql-query-time-value.png)

  <tip applies-to="Elastic Cloud Serverless: Generally available, Elastic Stack: Generally available since 9.5">
    From this version, you can filter and open a drilldown when the query gives an index field a new name.
    - Assign the new name in the `BY` clause of `STATS`.
      ```esql
      STATS count(*) BY host = hostname
      ```
    - Rename the field with the `RENAME` command.
      ```esql
      RENAME hostname AS host
      ```
  </tip>
</dropdown>

For more information about filter pills, refer to [Add pills by interacting with visualizations](/elastic/docs-builder/docs/4300/explore-analyze/dashboards/using#_add_pills_by_interacting_with_visualizations).

## Next steps

- [Create a dashboard drilldown](https://www.elastic.co/elastic/docs-builder/docs/4300/explore-analyze/dashboards/create-dashboard-drilldown)
- [Create a URL drilldown](https://www.elastic.co/elastic/docs-builder/docs/4300/explore-analyze/dashboards/create-url-drilldown)
- [Create a Discover drilldown](https://www.elastic.co/elastic/docs-builder/docs/4300/explore-analyze/dashboards/create-discover-drilldown)
- [Manage drilldowns](https://www.elastic.co/elastic/docs-builder/docs/4300/explore-analyze/dashboards/manage-drilldowns)


## Related pages

- [Add drilldowns to an ES|QL visualization](/elastic/docs-builder/docs/4300/explore-analyze/visualize/esorql#esql-viz-drilldowns)
- [Add pills by interacting with visualizations](/elastic/docs-builder/docs/4300/explore-analyze/dashboards/using#_add_pills_by_interacting_with_visualizations)