# Generate Event in Kibana when clicking at the table row in Dashboard?

**URL:** <https://discuss.elastic.co/t/generate-event-in-kibana-when-clicking-at-the-table-row-in-dashboard/273929>\
**Category:** Kibana\
**Created:** [May 25, 2021, 12:01pm UTC](https://discuss.elastic.co/t/generate-event-in-kibana-when-clicking-at-the-table-row-in-dashboard/273929 "2021-05-25T12:01:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![padamrai](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@padamrai](https://discuss.elastic.co/u/padamrai)\
**Post date:** [May 25, 2021, 12:01pm UTC](https://discuss.elastic.co/t/generate-event-in-kibana-when-clicking-at-the-table-row-in-dashboard/273929/1 "2021-05-25T12:01:33Z")

</div>

It is possible to generate event when clicking at the table row and That generated event send data to the other index in the kibana. Is it possible to generate event on table row in kibana.

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [May 26, 2021, 8:12pm UTC](https://discuss.elastic.co/t/generate-event-in-kibana-when-clicking-at-the-table-row-in-dashboard/273929/2 "2021-05-26T20:12:41Z")

</div>

For Dashboards, we do have a [Drilldowns](https://www.elastic.co/guide/en/kibana/current/drilldowns.html) feature that will let you attach actions for when a user interacts with a visualization. In particular there is a **URL Drilldown** which will let you navigate to any arbitrary URL from the Dashboard panel.

So if you are looking to ingest that event data in another Elasticsearch index, you could possibly build your own external webhook that handles writing to ES and use the URL Drilldown to point to it. But otherwise, there unfortunately isn't a way that I can think of to do exactly what you describe in Kibana alone.

Another option would be building a custom plugin and using a service like [UI Actions](https://www.elastic.co/guide/en/kibana/7.13/uiactions-plugin.html) to try to attach triggers to the visualizations you wish to interact with.

---

<div class="post-metadata">

**Author:** ![padamrai](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@padamrai](https://discuss.elastic.co/u/padamrai)\
**Post date:** [May 27, 2021, 6:27am UTC](https://discuss.elastic.co/t/generate-event-in-kibana-when-clicking-at-the-table-row-in-dashboard/273929/3 "2021-05-27T06:27:50Z")

</div>

Sir I want to transfer the data from one index column to another index by using any Onclick function. Or any way to transfer data from one index to another index?  
I have another question It is possible to make relationship between two indexes like we are doing in relational database by using primary and foreign key.

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [June 22, 2021, 6:18pm UTC](https://discuss.elastic.co/t/generate-event-in-kibana-when-clicking-at-the-table-row-in-dashboard/273929/4 "2021-06-22T18:18:26Z")

</div>

> [@padamrai](#):
>
> I want to transfer the data from one index column to another index by using any Onclick function. Or any way to transfer data from one index to another index?

As I mentioned above, there isn't a way to do this out-of-the-box in Kibana; you'd need to build a custom plugin. Kibana will let you do some basic index management, including configuring your [index lifecycle policies](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-lifecycle-management.html), but if you want to transfer data to a new index when a user interacts with a specific visualization, this is something you'd need to build as a custom plugin.

> [@padamrai](#):
>
> possible to make relationship between two indexes like we are doing in relational database by using primary and foreign key

Elasticsearch doesn't have a concept of foreign keys. The closest thing I can think of is probably parent/child relations with the [`join` field type](https://www.elastic.co/guide/en/elasticsearch/reference/current/parent-join.html), however [this can have a significant impact on performance](https://www.elastic.co/guide/en/elasticsearch/reference/current/parent-join.html#_parent_join_and_performance), so [de-normalizing your data](https://www.elastic.co/guide/en/elasticsearch/guide/2.x/denormalization.html) is generally the recommended approach.

---

<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 20, 2021, 6:19pm UTC](https://discuss.elastic.co/t/generate-event-in-kibana-when-clicking-at-the-table-row-in-dashboard/273929/5 "2021-07-20T18:19:15Z")

</div>

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