Hi Gabor, Now i am getting logs on server. Now i wan to send clients apache logs on server. Apache create custom logs on "/usr/local/apache/logs/access_67-2018-05-11.log ". currently logs are created on* "*file("/var/log/*from_net");}; *this location and all are coming on from_net file . But Now i want to send apache logs on server in same format like access_67-2018-05-11.log ,then how to configure it on both side? *Thanks & Regards :-* *VINOD SINGH SAUD* *(M):- 09718663552* *(W):-09997645597* *(E) :- vinod.samant.123@gmail.com <vinod.samant.123@gmail.com>* On Fri, May 11, 2018 at 1:42 PM, Nagy, Gábor <gabor.nagy@balabit.com> wrote:
Hi Vinod,
Do you see any error messages or warnings from syslog-ng on either the client or the server side?
Regards, Gabor
On Fri, May 11, 2018 at 8:26 AM, vinod samant <vinod.samant.123@gmail.com> wrote:
Hi My simple configuration is mentioned below but i can not get any logs from cilent to server.
Is this configuration are wright or not? if i have to some changes on this configuration file Please suggest. Here i am doing simple configuration.
OS:- centos 6 Client IP:- 192.168.122.21 server IP:- 192.168.122.67 (central server)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Client<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<
@version:3.13 @include "scl.conf"
source s_local { system(); internal();
}; destination d_network {udp("192.168.122.67" port(514));
};
destination d_local { file("/var/log/messages"); };
log{ source(s_local); destination(d_network); destination(d_local);
};
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Server config<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
@version:3.13 @include "scl.conf"
source s_local{system(); internal();}; source s_network{
udp(); tcp();
};
destination d_local{file("/var/log/messages");}; destination d_from_net{file("/var/log/from_net");}; log{ source(s_local); destination(d_local); }; log { source(s_network); destination(d_from_net); };
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Please suggest on this .
*Thanks & Regards :-*
*VINOD SINGH SAUD*
*(M):- 09718663552*
*(W):-09997645597*
*(E) :- vinod.samant.123@gmail.com <vinod.samant.123@gmail.com>*
On Thu, May 10, 2018 at 6:46 PM, Gergely Nagy <algernon@balabit.com> wrote:
>> "vinod" == vinod samant <vinod.samant.123@gmail.com> writes:
vinod> 1. Is these change should on default configuration file syslog-ng.conf or vinod> we have to create new .conf file on conf.d/ directory ?
These were meant to be complete configuration files, replacing syslog-ng.conf. But feel free to adapt them to any existing configuration.
-- |8]
____________________________________________________________ __________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product= syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
____________________________________________________________ __________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/? product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq