[syslog-ng] Fwd: How to configure client and host server

Nagy, Gábor gabor.nagy at balabit.com
Fri May 11 08:12:51 UTC 2018


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 at 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 at gmail.com <vinod.samant.123 at gmail.com>*
>
> On Thu, May 10, 2018 at 6:46 PM, Gergely Nagy <algernon at balabit.com>
> wrote:
>
>> >>>>> "vinod" == vinod samant <vinod.samant.123 at 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20180511/8ad24520/attachment-0001.html>


More information about the syslog-ng mailing list