Is there a way invoke shell script or python script as part of filebeat output or processor

As part of LSF accounting file monitoring, need some processing(parsing job_finish event) for each event entry using LSF API (python or c). Want to keep this agent as simple as possible, hence considering to use only filebeat not logstash.

Is there any way to invoke script (shell/python) as part of filebeat output or processor.

Thanks, Naresh

The only scripting language u can use is JavaScript. See Script Processor | Filebeat Reference [7.13] | Elastic.