Execute child_procces in plugin kibana

(yuza) #1

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,

(Mark Walkom) #2

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

What are you trying to do?

(yuza) #3

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,

(Mark Walkom) #4

Why do you want to execute a shell script though?

(yuza) #5

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.

(system) #6

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