diff --git a/explore-analyze/_snippets/global-filters.md b/explore-analyze/_snippets/global-filters.md new file mode 100644 index 0000000000..5db7ddfe9f --- /dev/null +++ b/explore-analyze/_snippets/global-filters.md @@ -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** +: 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. \ No newline at end of file diff --git a/explore-analyze/dashboards/using.md b/explore-analyze/dashboards/using.md index ab04d46039..5d91e79f39 100644 --- a/explore-analyze/dashboards/using.md +++ b/explore-analyze/dashboards/using.md @@ -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] diff --git a/explore-analyze/discover/discover-get-started.md b/explore-analyze/discover/discover-get-started.md index 0bee2283b5..f2bd31251b 100644 --- a/explore-analyze/discover/discover-get-started.md +++ b/explore-analyze/discover/discover-get-started.md @@ -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] diff --git a/explore-analyze/visualize/lens.md b/explore-analyze/visualize/lens.md index 06837758f5..4830b98f87 100644 --- a/explore-analyze/visualize/lens.md +++ b/explore-analyze/visualize/lens.md @@ -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] diff --git a/explore-analyze/visualize/maps/maps-getting-started.md b/explore-analyze/visualize/maps/maps-getting-started.md index 39fa80e973..75994ba074 100644 --- a/explore-analyze/visualize/maps/maps-getting-started.md +++ b/explore-analyze/visualize/maps/maps-getting-started.md @@ -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]