Re: How to log separate files or directories for centralizing SysLog server ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

Have a look at http://www.rsyslog.com/ for details on how to set up rsyslog.
Just let me mention that (r)syslog lets you define which messages are
forwarded to the destination you've defined. If you add "*.*  <destination>"
to your (r)syslog config file I believe all messages logged via (r)syslog
will be forwarded to that destination. If apache logs to syslog, those
message will also be forwareded.


- Kenneth






On Tue, Apr 13, 2010 at 8:42 AM, James Corteciano <james@xxxxxxxxxxxxxxxx>wrote:

> Hi Kenneth,
>
> How did you configure your rsyslog to centralize all apache logs in the
> central syslog server? All other application as well.
>
> Thanks.
>
> James
>
> On Mon, Apr 12, 2010 at 6:15 PM, Kenneth Holter <kenneho.ndu@xxxxxxxxx
> >wrote:
>
> > We're using rsyslog to accomplish this. Chose this over syslog-ng since
> > it's
> > included pr default in RHEL which we're running, but I'm sure syslog-ng
> is
> > a
> > nice alternative too.
> >
> >
> >
> > - Kenneth
> >
> > On Mon, Apr 12, 2010 at 10:41 AM, Romeo Theriault
> > <romeotheriault@xxxxxxxxx>wrote:
> >
> > > On Mon, Apr 12, 2010 at 4:49 PM, James Corteciano <
> > james@xxxxxxxxxxxxxxxx
> > > >wrote:
> > >
> > > > Hi All,
> > > >
> > > > I have three server. server0 is centralized logging server, server1
> and
> > > > server2 are remote client servers. How can I properly configure the
> > > syslog
> > > > in server0 to log the two servers in different separated
> > > files/directories.
> > > > Example, server1 will be logged at /var/log/syslog/server1.log of
> > server0
> > > > and /var/log/syslog/server2.log for server2 as well.
> > > >
> > >
> > > You can't do this with plain old syslog. You'll need to use an
> > alternative
> > > syslog package to accomplish what you want. Two well known syslog
> > packages
> > > that can do what you want are syslog-ng and rsyslog.
> > >
> > > --
> > > Romeo Theriault
> > > System Administrator
> > > Information Technology Services
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux