# How to build a custom Kibana plugin similar to discover saved search without aggregation

**URL:** <https://discuss.elastic.co/t/how-to-build-a-custom-kibana-plugin-similar-to-discover-saved-search-without-aggregation/237635>\
**Category:** Kibana\
**Created:** [June 18, 2020, 12:37pm UTC](https://discuss.elastic.co/t/how-to-build-a-custom-kibana-plugin-similar-to-discover-saved-search-without-aggregation/237635 "2020-06-18T12:37:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tejashree\_kate](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tejashree_kate/32/47095_2.png) [@Tejashree\_kate](https://discuss.elastic.co/u/Tejashree_kate)\
**Post date:** [June 18, 2020, 12:37pm UTC](https://discuss.elastic.co/t/how-to-build-a-custom-kibana-plugin-similar-to-discover-saved-search-without-aggregation/237635/1 "2020-06-18T12:37:20Z")

</div>

Hi Team,

I am trying to build a custom Kibana plugin of type visualisation. I want to display similar to discover saved search without any aggregation.

How can I achieve this?  
What schema should be definied inside editorConfig to achieve this?

Also if i create an app instead of visualisation, can I integrate that as a panel in one of my dashboards?

Thank you

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [June 18, 2020, 12:53pm UTC](https://discuss.elastic.co/t/how-to-build-a-custom-kibana-plugin-similar-to-discover-saved-search-without-aggregation/237635/2 "2020-06-18T12:53:05Z")

</div>

Not sure if this meets your use case. But if you are looking for a table like saved search with no aggregation you can add a saved search into your dashboard.

Just save the search how you want it then in dashboard add object to dashboard.

---

<div class="post-metadata">

**Author:** ![Tejashree\_kate](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tejashree_kate/32/47095_2.png) [@Tejashree\_kate](https://discuss.elastic.co/u/Tejashree_kate)\
**Post date:** [June 18, 2020, 1:06pm UTC](https://discuss.elastic.co/t/how-to-build-a-custom-kibana-plugin-similar-to-discover-saved-search-without-aggregation/237635/3 "2020-06-18T13:06:23Z")

</div>

I want the saved search table with some additional functionality like onclick, highlights etc.

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [June 18, 2020, 1:17pm UTC](https://discuss.elastic.co/t/how-to-build-a-custom-kibana-plugin-similar-to-discover-saved-search-without-aggregation/237635/4 "2020-06-18T13:17:29Z")

</div>

I've never done a viz, only apps and hacks. Also don't know of a way to integrate an app into a dashboard. Guess it's possible with a hack but it wouldn't be easy to do. Would just find the place you want to enter the table and append the code for the table.

Doing it with a visualization is probably the better choice though.

Id check out [GitHub - fbaligand/kibana-enhanced-table: Kibana visualization like a Data Table, but with enhanced features like computed columns, filter bar, and “Split Cols” bucket · GitHub](https://github.com/fbaligand/kibana-enhanced-table) code. I think you can use that without aggregations and could see how they did it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 16, 2020, 1:17pm UTC](https://discuss.elastic.co/t/how-to-build-a-custom-kibana-plugin-similar-to-discover-saved-search-without-aggregation/237635/5 "2020-07-16T13:17:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
