# Help: Pass in Parameters Dynamically in Watcher

**URL:** https://discuss.elastic.co/t/help-pass-in-parameters-dynamically-in-watcher/292530
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting, painless
**Created:** [December 21, 2021, 7:01am UTC](https://discuss.elastic.co/t/help-pass-in-parameters-dynamically-in-watcher/292530 "2021-12-21T07:01:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![appleyin1](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@appleyin1](https://discuss.elastic.co/u/appleyin1)
#### Post date: [December 21, 2021, 7:01am UTC](https://discuss.elastic.co/t/help-pass-in-parameters-dynamically-in-watcher/292530/1 "2021-12-21T07:01:05Z")

</div>

Hi there,  
Is that possible to pass in parameters dynamically in Watcher? Below "Search Input" only for static, Please advise, thanks.

> **[Inputs | Elasticsearch Watcher \[2.4\] | Elastic](https://www.elastic.co/guide/en/watcher/current/input.html#input-search)**

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [January 5, 2022, 3:44pm UTC](https://discuss.elastic.co/t/help-pass-in-parameters-dynamically-in-watcher/292530/2 "2022-01-05T15:44:47Z")

</div>

Please refine your question or explain your use-case, it's hard to figure out exactly what needs to be dynamic and how/where this should be passed. Please show a concrete example.

---

<div class="post-metadata">

### Author: ![appleyin1](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@appleyin1](https://discuss.elastic.co/u/appleyin1)
#### Post date: [January 5, 2022, 7:41pm UTC](https://discuss.elastic.co/t/help-pass-in-parameters-dynamically-in-watcher/292530/3 "2022-01-05T19:41:33Z")

</div>

Thanks Alex, all good now

---

<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: [February 2, 2022, 7:42pm UTC](https://discuss.elastic.co/t/help-pass-in-parameters-dynamically-in-watcher/292530/4 "2022-02-02T19:42:05Z")

</div>

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