Hi,
I am trying to use websocket instead of filebeat to ship the logs from a log file to logstash.
I can see that the configuration for the logstash config for input is something like below:
input {
websocket {
codec => "plain"
url => "ws://127.0.0.1:9300/"
}
}
But this is the client side , If I understand it correctly. How am I supposed to create websocket server to which this client request?
And moreover how is that server supposed tot send the logs to this client as was done initially by filebeat.
Appreciate any sort of help in clearing the doubt and guidance.
Thanks.