Execute child_procces in plugin kibana

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,

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

What are you trying to do?

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,

Why do you want to execute a shell script though?

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.

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