<div dir="ltr"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">vinod samant</b> <span dir="ltr"><<a href="mailto:vinod.samant.123@gmail.com">vinod.samant.123@gmail.com</a>></span><br>Date: Wed, May 9, 2018 at 10:46 PM<br>Subject: How to configure client and host server<br>To: "<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>" <<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>><br><br><br><div dir="ltr">Hi ,<div>I am beginner in linux and first time i am going to installation and configure syslog-ng .So, I hope ,will get more help from your side because i am being confuse while reading documentation.first of all i want to mention my requirements.</div><div><br></div><div>OS:- centos 6.9</div><div><br></div><div><br></div><div>My Requirements:-</div><div><br></div><div>1. we have 20 apache webserver ,we are writing apache custom logs or php applications logs in a particular directory ,But directory location is different different for both apache log and php application logs. For example we are writing log in "/usr/local/apache/logs " and apache log format or php application log format are mentioned below .</div><div><br></div><div><b>apche custom logs Fromta:- </b> abc_access_2018-05-09.log ,abc_error_2018-05-09.log and xyz_access_2018-05-09.log etc..</div><div><br></div><div><b>Php application log format:- </b> hello_vidoes_20180509.txt , world_music_20180509.txt</div><div><br></div><div>2. I want to store these logs of 20 web servers on a centralised server at real time and we do not want to change logs file and format . Is this possible?</div><div> </div><div>3. I want to make 20 web server as client server and centralised server (as host server).</div><div><br></div><div>Here ,I can not understand from documentation ,So Can you provide the configuration for both side client and host side ? </div><div><br></div><div>Client ip:- 192.168.122.184</div><div>server IP(centralised):- 192.168.122.61</div><div><br></div><div><br></div><div> <br></div><div><div><div class="m_-283374389946113408gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><b><font color="#0000ff"><i>Thanks & Regards </i></font>:-<br></b></div><b>VINOD SINGH SAUD<br></b></div><div><b>(M):- 09718663552<br></b></div><div><b><font color="#00ff00">(W):-09997645597</font><br></b></div><div><b>(E) :- <a href="mailto:vinod.samant.123@gmail.com" target="_blank">vinod.samant.123@gmail.com</a><br></b></div></div></div></div></div></div>
</div></div>
</div><br></div>