# How to use script parameters of elasticsearch output plugin？

**URL:** <https://discuss.elastic.co/t/how-to-use-script-parameters-of-elasticsearch-output-plugin/80783>\
**Category:** Logstash\
**Created:** [March 31, 2017, 8:04am UTC](https://discuss.elastic.co/t/how-to-use-script-parameters-of-elasticsearch-output-plugin/80783 "2017-03-31T08:04:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qin](https://avatars.discourse-cdn.com/v4/letter/q/91b2a8/32.png) [@qin](https://discuss.elastic.co/u/qin)\
**Post date:** [March 31, 2017, 8:04am UTC](https://discuss.elastic.co/t/how-to-use-script-parameters-of-elasticsearch-output-plugin/80783/1 "2017-03-31T08:04:28Z")

</div>

**Lostash elasticsearch output plugin, how to use script、scripted\_upsert and script\_type parameters? Can give an example?**

---

<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:** [April 28, 2017, 8:04am UTC](https://discuss.elastic.co/t/how-to-use-script-parameters-of-elasticsearch-output-plugin/80783/2 "2017-04-28T08:04:36Z")

</div>

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