# Sending data to index through vega or by any other kibana feature from dahsboard

**URL:** <https://discuss.elastic.co/t/sending-data-to-index-through-vega-or-by-any-other-kibana-feature-from-dahsboard/370877>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [November 21, 2024, 8:36am UTC](https://discuss.elastic.co/t/sending-data-to-index-through-vega-or-by-any-other-kibana-feature-from-dahsboard/370877 "2024-11-21T08:36:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aman\_kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aman_kumar4/32/137605_2.png) [@aman\_kumar4](https://discuss.elastic.co/u/aman_kumar4)\
**Post date:** [November 21, 2024, 8:36am UTC](https://discuss.elastic.co/t/sending-data-to-index-through-vega-or-by-any-other-kibana-feature-from-dahsboard/370877/1 "2024-11-21T08:36:37Z")

</div>

I want to calculate that how much an user spent time on a particular dashboard  
i have created a timer through vega ( working)  
now want to send this timer data when user closes/leaves the dashboard so that I can use this data  
any idea ?
