How can we use web socket

Hi All,

Can i know what is exactly purpose of websocket plugin.

I wan't to import data from one URL.
With above plugin can i able to import data from URL???
If possible please give me step by step procedure OR give me any other better solution for the same.

Thanks & Regards,
Dan.

The WebSocket input plugin can connect to WebSocket endpoints and receive data streamed over such connections. Most URLs don't support this so you can't just pass any URL. If you have a URL that returns data that you'd like to get into Logstash your best bet is to download the data to a local file and read that file. If the data can be updated over time and you want to ingest only the updates that requires some work.