Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions explore-analyze/_snippets/global-filters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
You can interact with filter pills to edit them, temporarily alter their behavior without having to delete them, or make them available in other contexts. The following options are available when selecting a filter pill:

**Pin across all apps** and **Unpin**
Copy link

@nreese nreese Aug 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another interesting behavior is that Pinned filters are not saved. For example, if you pin a filter on a dashboard and save the dashboard. Then open the dashboard listing table in a new tab and open the dashboard, the pinned filter is no longer present. Not sure if this is worth mentioning.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is! I will add something

: Adds this filter to available dashboards and to apps such as **Discover**, **Lens**, **Maps**, and **Visualize**. The filter is removed if you:
* Unpin it. In this case, the filter only remains on the currently open app, unpinned.
* Remove it from any place while it's still pinned.
* Refresh your session, for example by opening a dashboard in a new tab. Pinned filters are not saved along with the dashboard, visualization, or Discover session that you added them to.

:::{tip}
When a pinned filter can't be applied, for example if a field specified in the filter doesn't exist in the current data view, the filter is ignored and shows in a different color.
:::

**Edit filter**
: Lets you edit and update the filter.

**Exclude results** and **Include results**
: Reverses the filter behavior.

**Temporarily disable** and **Re-enable**
: Lets you temporarily disable a filter instead of requiring you to delete it. This is particularly useful for testing different filter combinations.

**Delete**
: Deletes the filter.

You can perform most of these actions at once for all filters in your current view using the **Filter** icon {icon}`filter`. From the menu that opens, select **Apply to all**, then choose the action you'd like to perform.
5 changes: 5 additions & 0 deletions explore-analyze/dashboards/using.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ As an alternative to the main query bar, you can filter dashboard data by defini
:alt: Filter editor with 2 conditions
:::

#### Filter pill actions

:::{include} ../_snippets/global-filters.md
:::


### Filter dashboards using the KQL query bar [_filter_dashboards_using_the_kql_query_bar]

Expand Down
5 changes: 5 additions & 0 deletions explore-analyze/discover/discover-get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,11 @@ For example, exclude results from the ecommerce sample data view where day of we
4. Continue your exploration by adding more filters.
5. To remove a filter, click the close icon (x) next to its name in the filter bar.

#### Filter pill actions

:::{include} ../_snippets/global-filters.md
:::


### Search and filter using ES|QL [_search_and_filter_using_esql]

Expand Down
5 changes: 5 additions & 0 deletions explore-analyze/visualize/lens.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,11 @@ In the legend, click the field, then choose one of the following options:
* **Filter for value** — Applies a filter that displays only the field data in the visualization.
* **Filter out value** — Applies a filter that removes the field data from the visualization.

#### Filter pill actions

:::{include} ../_snippets/global-filters.md
:::


## Customize the visualization display [configure-the-visualization-components]

Expand Down
3 changes: 3 additions & 0 deletions explore-analyze/visualize/maps/maps-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ View your geospatial data alongside a heat map and pie chart, and then filter th
:screenshot:
:::

### Filter pill actions

:::{include} ../../_snippets/global-filters.md
:::

## What’s next? [_whats_next_6]

Expand Down
Loading