# How to hide KQL Query Bar and Filter Bar while keeping the Global Time Filter?

**URL:** <https://discuss.elastic.co/t/how-to-hide-kql-query-bar-and-filter-bar-while-keeping-the-global-time-filter/385658>\
**Category:** Kibana\
**Created:** [March 27, 2026, 8:31am UTC](https://discuss.elastic.co/t/how-to-hide-kql-query-bar-and-filter-bar-while-keeping-the-global-time-filter/385658 "2026-03-27T08:31:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vignesh2](https://avatars.discourse-cdn.com/v4/letter/v/5f8ce5/32.png) [@Vignesh2](https://discuss.elastic.co/u/Vignesh2)\
**Post date:** [March 27, 2026, 8:31am UTC](https://discuss.elastic.co/t/how-to-hide-kql-query-bar-and-filter-bar-while-keeping-the-global-time-filter/385658/1 "2026-03-27T08:31:07Z")

</div>

Hi everyone,

I am building a custom dashboard experience for customers using the new **Controls (Input Controls)**. I want my custom controls to be the primary way users interact with the data.

To keep the UI clean, I need to:

1. **Hide the KQL Search/Syntax bar** at the top.

2. **Hide the Filter Tab bar** (the area where filter "pills" appear).

3. **Keep the Global Time Filter** visible and functional.

Is there a native setting in Kibana (version **v 9.2.4** ) to toggle these off specifically for a dashboard.

![image](https://us1.discourse-cdn.com/elastic/optimized/3X/3/5/357884a1cc523c4e2f1bf911772f7a13abc086ca_2_690x51.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [March 28, 2026, 6:24am UTC](https://discuss.elastic.co/t/how-to-hide-kql-query-bar-and-filter-bar-while-keeping-the-global-time-filter/385658/2 "2026-03-28T06:24:17Z")

</div>

Hello @Vignesh2

So as per your requirement hide the 2 red boxes on the top left & only show 1 green box on top right :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/8/68996342811dfd275ef87d8c7af5ad64dd0f7458.png)

I do not think this is possible on Kibana Dashboard , you might have to use Canvas if that is still available in your environment.

Thanks!!

---

<div class="post-metadata">

**Author:** ![christinanguyen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christinanguyen/32/147252_2.png) [@christinanguyen](https://discuss.elastic.co/u/christinanguyen)\
**Post date:** [March 30, 2026, 12:01pm UTC](https://discuss.elastic.co/t/how-to-hide-kql-query-bar-and-filter-bar-while-keeping-the-global-time-filter/385658/3 "2026-03-30T12:01:25Z")

</div>

Hi @Vignesh2,

As far as I know, Kibana doesn’t provide a built-in toggle to selectively hide the KQL query bar or filter pills while keeping the global time filter visible — especially in standard dashboards.

However, you can achieve something close with a few approaches:

1. **Embed mode (iframe)**  
If you embed the dashboard, you can hide some UI elements using URL parameters like:

- `embed=true`
- `show-query-input=false`
- `show-filter-bar=false`

But note that this will also affect other controls depending on the configuration.

1. **Custom plugin / CSS override**  
If you're building a custom dashboard experience, you can:

- Override Kibana UI components via plugin
- Or inject custom CSS to hide:
  - `.kbnQueryBar`
  - filter pills container

This is not officially recommended but works in controlled environments.

1. **Controls-only UX**  
Since you're already using Input Controls, another approach is:

- Hide top-level navigation via embed
- Let controls act as the main interaction layer

Unfortunately, Kibana doesn’t yet offer granular UI toggles for this specific use case (keeping only global time filter).

Hope this helps 👍
