# Kibanaclient - Error when executing Kibana client request

**URL:** <https://discuss.elastic.co/t/kibanaclient-error-when-executing-kibana-client-request/112990>\
**Category:** Logstash\
**Created:** [December 22, 2017, 11:36am UTC](https://discuss.elastic.co/t/kibanaclient-error-when-executing-kibana-client-request/112990 "2017-12-22T11:36:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![antony.y](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@antony.y](https://discuss.elastic.co/u/antony.y)\
**Post date:** [December 22, 2017, 11:36am UTC](https://discuss.elastic.co/t/kibanaclient-error-when-executing-kibana-client-request/112990/1 "2017-12-22T11:36:17Z")

</div>

I am now using netflow module in my logstash .  
And i using " bin/logstash --modules netflow --setup -M netflow.var.input.udp.port=2055 -M var.elasticsearch.hosts="192.168.88.120:9200" -M var.kibana.host="192.168.88.120:5601" "  
to start the netflow, but i met an error

[ERROR] 2017-10-13 19:49:59.450 [LogStash::Runner] kibanaclient - Error when executing Kibana client request {:error=\>#\<Manticore::SocketException: Connection refused (Connection refused)\>}  
[ERROR] 2017-10-13 19:49:59.461 [LogStash::Runner] kibanaclient - Error when executing Kibana client request {:error=\>#\<Manticore::SocketException: Connection refused (Connection refused)\>}

It seems that i can not connect to the kibana, but when i using telnet , the port is normal.  
And i had closed all the firewall,is there anyone who can solve it ?

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [December 22, 2017, 12:02pm UTC](https://discuss.elastic.co/t/kibanaclient-error-when-executing-kibana-client-request/112990/2 "2017-12-22T12:02:42Z")

</div>

See [https://www.elastic.co/guide/en/logstash/5.6/logstash-modules.html#running-logstash-modules](https://www.elastic.co/guide/en/logstash/5.6/logstash-modules.html#running-logstash-modules)

When using the command line, you must specify which module the setting belongs to. You did this for `netflow.var.input.udp.port` but not `var.elasticsearch.hosts` and `var.kibana.host`

Your command line should look like this.

```auto
bin/logstash --modules netflow --setup -M netflow.var.input.udp.port=2055 -M netflow.var.elasticsearch.hosts="192.168.88.120:9200" -M netflow.var.kibana.host="192.168.88.120:5601"

```

---

<div class="post-metadata">

**Author:** ![antony.y](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@antony.y](https://discuss.elastic.co/u/antony.y)\
**Post date:** [December 22, 2017, 12:06pm UTC](https://discuss.elastic.co/t/kibanaclient-error-when-executing-kibana-client-request/112990/3 "2017-12-22T12:06:06Z")

</div>

Wow , it does work,thank you so much .It's been a big help

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [December 22, 2017, 12:09pm UTC](https://discuss.elastic.co/t/kibanaclient-error-when-executing-kibana-client-request/112990/4 "2017-12-22T12:09:02Z")

</div>

You are welcome.

---

<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:** [January 19, 2018, 12:09pm UTC](https://discuss.elastic.co/t/kibanaclient-error-when-executing-kibana-client-request/112990/5 "2018-01-19T12:09:20Z")

</div>

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