Hi ,

I have tried two way  of installation ,

1.first one is using command  yum install syslog-ng ,  and it has been installed ,if this way is wright then what will be the client and server side configuration,Suppose

apache writing custom log on /usr/local/apache/logs/xyz_access_2018-05-07.log  ,Client IP:- 10.10.64.1 ,server IP:- 10.10.64.100.

2. Second i have downloaded tar.gz file form github and trying to install ,But i am facing lots of dependency problem.

Can you explain difference between both way installation which i am triyng ? 

If any information about error i will provide .



Thanks & Regards :-
VINOD SINGH SAUD
(M):- 09718663552
(W):-09997645597

On Mon, May 7, 2018 at 6:49 PM, Gergely Nagy <algernon@balabit.com> wrote:
Hi!

>>>>> "vinod" == vinod samant <vinod.samant.123@gmail.com> writes:

    vinod> Hi ,
    vinod> I am new in syslog-ng ,while installing syslog-ng ,i am facing lots
    vinod> dependency problem ,Can you share with  me a document for installation
    vinod> syslog-ng on client side and host side.

Are you installing from source, or from a binary package? If the latter,
I'd suggest taking a look at our 3rd party binaries page:
 https://syslog-ng.com/3rd-party-binaries

Although, I'm not sure if there are any for CentOS6... The latest I can
find is syslog-ng 3.13:
 https://syslog-ng.com/blog/latest-syslog-ng-available-rhel-6-centos-6/

This suggests that you may need to compile from source if you want to
have the latest version. If you need help with that, we can certainly
help, but will need some more details, such as the exact problems you
are running into.

Anyway, installing it on the client and server side should be the same.
The difference would be in configuration.

    vinod> 1. I want to store logs of all clients in one server that will be my
    vinod> syslog-ng server (central server).
    vinod> 2. client servers are apache webservers ,applications servers ,where logs
    vinod> are writing , these are custom directory.
    vinod> 3. I have lot of custom logs on apache webserver and application severs.
    vinod> 4. I want to store these logs for long time on central server about 2 year.

    vinod> Query:-
    vinod> 1.Can we send  these logs on syslog-ng real time?

By all intents and purposes, yes. A few things (such as network) may
introduce slight delays, but otherwise yes.

    vinod> 2. Will log format be same as on client ?

That depends entirely on how you configure your clients and the central
server. It is possible to send logs over as-is, without any parsing at
all, and make them appear the same on the server too.

--
|8]