# Execute child\_procces in plugin kibana

**URL:** <https://discuss.elastic.co/t/execute-child-procces-in-plugin-kibana/96204>\
**Category:** Kibana\
**Created:** [August 8, 2017, 7:22am UTC](https://discuss.elastic.co/t/execute-child-procces-in-plugin-kibana/96204 "2017-08-08T07:22:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkg\_cangkul](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@tkg\_cangkul](https://discuss.elastic.co/u/tkg_cangkul)\
**Post date:** [August 8, 2017, 7:22am UTC](https://discuss.elastic.co/t/execute-child-procces-in-plugin-kibana/96204/1 "2017-08-08T07:22:21Z")

</div>

hi, is there any way to execute shell script from the kibana plugin.  
i'm trying to create a simple plugin that can be execute shell script.  
i was trying to use child procces but i have some error massage like below :

Module not found: Error: Cannot resolve module 'child\_process' in /opt/kibana/installedPlugins/test\_plugin/public

is there any suggestion for this?

Best Regards,

---

<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:** [August 8, 2017, 7:23am UTC](https://discuss.elastic.co/t/execute-child-procces-in-plugin-kibana/96204/2 "2017-08-08T07:23:25Z")

</div>

You cannot do this, that's a pretty big security issue.

What are you trying to do?

---

<div class="post-metadata">

**Author:** ![tkg\_cangkul](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@tkg\_cangkul](https://discuss.elastic.co/u/tkg_cangkul)\
**Post date:** [August 8, 2017, 7:33am UTC](https://discuss.elastic.co/t/execute-child-procces-in-plugin-kibana/96204/3 "2017-08-08T07:33:14Z")

</div>

i just wanna trying to execute shell script from kibana.  
i have create simple shell script to indexing ES automatically after filtering. and i wanna try to execute it from kibana so i don't need another dashboard to execute it.

So there is no way to do this right?  
ok then.

thank you so much for your help sir

Best Regards,

---

<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:** [August 8, 2017, 7:33am UTC](https://discuss.elastic.co/t/execute-child-procces-in-plugin-kibana/96204/4 "2017-08-08T07:33:52Z")

</div>

Why do you want to execute a shell script though?

---

<div class="post-metadata">

**Author:** ![tkg\_cangkul](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@tkg\_cangkul](https://discuss.elastic.co/u/tkg_cangkul)\
**Post date:** [August 8, 2017, 7:40am UTC](https://discuss.elastic.co/t/execute-child-procces-in-plugin-kibana/96204/5 "2017-08-08T07:40:43Z")

</div>

i have created web dashboard to execute this script. but i wanna try it in kibana. if kibana plugin can handle this, i think i don't need my web dashboard anymore. so i just use kibana for the dashboard.

---

<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:** [September 5, 2017, 7:40am UTC](https://discuss.elastic.co/t/execute-child-procces-in-plugin-kibana/96204/6 "2017-09-05T07:40:46Z")

</div>

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