Re: securely access to application logs
kona_iron_at_yahoo.fr
Date: 02/17/05
- Next message: jpd: "Re: Share a scanner in a network server with Debian Linux"
- Previous message: ojailoop_at_yahoo.com: "proftpd and yum"
- In reply to: harv: "Re: securely access to application logs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Feb 2005 12:57:00 -0800
Hi Harv,
Thank you, good advices.
harv wrote:
> kona_iron@yahoo.fr wrote:
> > Hello,
> > We have a lot of Solaris servers with each multiple applications
that
> > generate application logs.
> > Some application logs have to be read by "non privilege" users.
> > We can not give direct accesse on these logs. So the idea is to
have a
> > log server.
> > These applications do not use syslog. So it is not easy to export
these
> > logs to amother servers.
> > What do you suggest me ?
> > We need a solution as secure as possible. So no NFS or Samba
> >
> > Thank's a lot for any advices
> >
> How about using "logger" and sending to a syslog server... bit like
this:
> logger -p local1.notice -t APPSERV01 -f /path/logfile
> should read the file "/path/logfile" line by line and sent it to
syslog
> with the priority of "local1.notice" and tag with "APPSERV01"
> Then setup syslog for remote logging for local1.notice etc.
>
> Might have to get a little more tricky doing something like:
>
> cat <logfile> >> <store log> && logger -p local0.notice -t APPSERV01
-f
> <logfile> && cat /dev/nul > <logfile>
>
> Giving you a full set of log on the application server <store log>
and a
> running log to send to syslog.
>
> Wack it in cron and your away.
>
>
> Other possible options I can think of:
> Is replacing the application log file with a named pipe and running
the
> logger command on that.
> Or even use scp to go and get the files every 5 mins or so if
realtime
> is not that important.
>
> -Harv
- Next message: jpd: "Re: Share a scanner in a network server with Debian Linux"
- Previous message: ojailoop_at_yahoo.com: "proftpd and yum"
- In reply to: harv: "Re: securely access to application logs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|