# Kibana webhook parameter - Host error

**URL:** <https://discuss.elastic.co/t/kibana-webhook-parameter-host-error/340068>\
**Category:** Kibana\
**Created:** [August 3, 2023, 3:53pm UTC](https://discuss.elastic.co/t/kibana-webhook-parameter-host-error/340068 "2023-08-03T15:53:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kvoyce2023](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvoyce2023/32/123012_2.png) [@Kvoyce2023](https://discuss.elastic.co/u/Kvoyce2023)\
**Post date:** [August 3, 2023, 3:53pm UTC](https://discuss.elastic.co/t/kibana-webhook-parameter-host-error/340068/1 "2023-08-03T15:53:13Z")

</div>

My question is regarding watcher webhook host. I got 2 logstash VMs where I have loadbalanced to feed data from filebeat. Below is my webhook portion

```auto
},
    "dev_webhook": {
      "webhook": {
        "scheme": "http",
        "host": "'20.2.130.1', '20.2.130.2'",
        "port": 5001,
        "method": "get",

```

When I execute the watcher, I am getting below error :

**"java.net.URISyntaxException: Illegal character in authority at index 7: http://''20.2.130.1', ''20.2.130.2':5001/Token=watcher-database-sql/Host="**

Could someone please advise how to resolve this issue ? Thank you.

---

<div class="post-metadata">

**Author:** ![drewdaemon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drewdaemon/32/97779_2.png) [@drewdaemon](https://discuss.elastic.co/u/drewdaemon)\
**Post date:** [August 3, 2023, 10:06pm UTC](https://discuss.elastic.co/t/kibana-webhook-parameter-host-error/340068/2 "2023-08-03T22:06:33Z")

</div>

I'm not an expert in this domain, but it looks to me like Elasticsearch is interpreting the entire string `'20.2.130.1', '20.2.130.2'` as a single host and wrapping it into an invalid webhook URL `http://''20.2.130.1', ''20.2.130.2':5001/Token=watcher-database-sql/Host=`.

Did you see this comma-separated syntax somewhere in the docs? I only see a single hostname in the example (I'm looking [here](https://www.elastic.co/guide/en/elasticsearch/reference/8.9/action-conditions.html)).

If you want to send to two different hosts, you may need two different webhook entries.

---

<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:** [August 31, 2023, 10:06pm UTC](https://discuss.elastic.co/t/kibana-webhook-parameter-host-error/340068/3 "2023-08-31T22:06:36Z")

</div>

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