# Elasticsearch Java plugin and logstash - need help

**URL:** <https://discuss.elastic.co/t/elasticsearch-java-plugin-and-logstash-need-help/45127>\
**Category:** Elasticsearch\
**Created:** [March 22, 2016, 3:33pm UTC](https://discuss.elastic.co/t/elasticsearch-java-plugin-and-logstash-need-help/45127 "2016-03-22T15:33:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcelHallmann](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@MarcelHallmann](https://discuss.elastic.co/u/MarcelHallmann)\
**Post date:** [March 22, 2016, 3:33pm UTC](https://discuss.elastic.co/t/elasticsearch-java-plugin-and-logstash-need-help/45127/1 "2016-03-22T15:33:35Z")

</div>

Hi,

I need some help with an elasticsearch Java plugin and logstash:  
According to [https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html#native-java-scripts](https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html#native-java-scripts) I created a plugin for elastic using _AbstractExecutableScript_.

What I want is to manipulate some data within this script.  
When I now send some data via logstash to my cluster, this plugin is never called.

Does anyone have a hint for me?  
What could be wrong?  
Or even better, does anyone has a working example?

Thanks and regards

---

<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:** [July 5, 2017, 11:06pm UTC](https://discuss.elastic.co/t/elasticsearch-java-plugin-and-logstash-need-help/45127/2 "2017-07-05T23:06:13Z")

</div>


