Search code examples
elasticsearchelasticsearch-painless

Execute OS Command from Painless script


Is there a way to execute an underlying bash command from an Elasticsearch painless script?

I'm looking to run a non interactive command when the script executes.


Solution

  • no you cannot do this, it's not allowed due to potential security risks