<div dir="ltr">Hello,<div><br></div><div>1. Yes in the idea only one-way communication mentioned, but of course it would be great to use its two-way advantages for e.g.: late ACK purposes. And yes it is another protocol on which syslog-ng could send messages. As faxmodem mentioned, with websocket it is possible to implement pub-sub communication which is also give us some new opportunities.</div><div><br></div><div>2. The webserver can be in any language. Theroretically python -m SimpleHTTPServer is perfectly enough to serve a static index.html cause js natively can handle websocket communication. This purpose is to shows that the destination is working properly. But if it does anything usefull like that you mentioned it is a plus.</div><div><br></div><div>By the way destination is perfectly cool GSoC project, but it would be great if the student implement the source or began to implement it. The reason behind this idea is that, one of the used protocol in IoT world is websocket (beside mqtt), so the devices could send logs directly to a syslog-ng server.</div><div><br></div><div>Best regards,<br></div><div>Laci</div><div class="gmail_extra"><br><div class="gmail_quote">On 16 March 2016 at 01:31, Yilin Li <span dir="ltr">&lt;<a href="mailto:liyilin1214@gmail.com" target="_blank">liyilin1214@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div><div>Hi, I got some questions about GSOC Project: WebSocket for syslog-ng<br></div><div><br></div><div>1) WebSocket support two-way communication. However, I found only one-way communication will be used in the project Idea. If this destination will be used for alerting, what are the advantages of using Websocket? Is it mainly for supporting another new protocol or better performance of WebSocket ?</div><div>2) It says we need a sample webserver to receive and handle messages coming from syslog-ng. Can this sample webserver written in python ? Does &quot;handle&quot; just mean recieve messages and display them to prove the destination is working properly? Need the webserver do anything else such as writing them to files or sending emails for altering?</div></div><div><br></div>Thanks :)<span><font color="#888888"><br clear="all"><div><br></div><div><br></div>-- <br><div><div dir="ltr"><div>Thanks,</div><div>Yiln  Li</div><div>-- </div><div>Institute of Software Chinese Academy of Sciences</div></div></div>
</font></span></div>
<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div></div>