# WebSocket output with Logstash - use ws://host:port

**URL:** <https://discuss.elastic.co/t/websocket-output-with-logstash-use-ws-host-port/47260>\
**Category:** Logstash\
**Created:** [April 13, 2016, 2:23pm UTC](https://discuss.elastic.co/t/websocket-output-with-logstash-use-ws-host-port/47260 "2016-04-13T14:23:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diyal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diyal/32/10110_2.png) [@Diyal](https://discuss.elastic.co/u/Diyal)\
**Post date:** [April 13, 2016, 2:23pm UTC](https://discuss.elastic.co/t/websocket-output-with-logstash-use-ws-host-port/47260/1 "2016-04-13T14:23:19Z")

</div>

Hello,

I 'm trying use logstash to send data in a websocket and also in Elasticsearch.  
I have already install logstash-output-websocket and logstash-input-websocket 's plugin,  
adding the websocket's syntax in my logstash.conf file .

websocket {  
port =\> 3232  
host =\> localhost  
}

So send data to Elasticsearch it's always work but for the websocket when i use this url : ws://127.0.01:3232  
Nothing happening.

So i don't see for the moment how really use it...

Thanks

---

<div class="post-metadata">

**Author:** ![Diyal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diyal/32/10110_2.png) [@Diyal](https://discuss.elastic.co/u/Diyal)\
**Post date:** [April 18, 2016, 9:53am UTC](https://discuss.elastic.co/t/websocket-output-with-logstash-use-ws-host-port/47260/2 "2016-04-18T09:53:31Z")

</div>

Problem resolved, just careless mistake ..  
To see the sending data to a Websocket we must to create a Websocket client ( HTML,JS or JAVA, .. ) to use "ws://host:port"

---

<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 6, 2017, 5:01am UTC](https://discuss.elastic.co/t/websocket-output-with-logstash-use-ws-host-port/47260/3 "2017-07-06T05:01:52Z")

</div>


