# Eecute python code from Kibana

**URL:** <https://discuss.elastic.co/t/eecute-python-code-from-kibana/316748>\
**Category:** Kibana\
**Created:** [October 17, 2022, 8:38am UTC](https://discuss.elastic.co/t/eecute-python-code-from-kibana/316748 "2022-10-17T08:38:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajesh\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajesh_sharma/32/109109_2.png) [@Rajesh\_Sharma](https://discuss.elastic.co/u/Rajesh_Sharma)\
**Post date:** [October 17, 2022, 8:38am UTC](https://discuss.elastic.co/t/eecute-python-code-from-kibana/316748/1 "2022-10-17T08:38:47Z")

</div>

Hi,  
I need to execute a python script from kibana dashboard, is it something feasible?  
I have requirement where I need to build a dynamic image via the python and display in the kibana dashboard in a popup/overlay.  
On Clicking of an icon in dashboard, I want to call python, which will generate an image, and that image I need to display in a popup.  
but first thing, is it something feasible in kibana?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 17, 2022, 8:45am UTC](https://discuss.elastic.co/t/eecute-python-code-from-kibana/316748/2 "2022-10-17T08:45:39Z")

</div>

You cannot do this sorry, primarily because it's security risk.

---

<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:** [November 12, 2022, 1:34pm UTC](https://discuss.elastic.co/t/eecute-python-code-from-kibana/316748/3 "2022-11-12T13:34:03Z")

</div>



---

<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:** [December 10, 2022, 1:34pm UTC](https://discuss.elastic.co/t/eecute-python-code-from-kibana/316748/4 "2022-12-10T13:34:21Z")

</div>

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