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]