Re: securely access to application logs
From: harv (harvtokyo_at_gmail.com)
Date: 02/17/05
- Next message: Marcin Dobrucki: "Re: Ldap question"
- Previous message: semovrs_at_concord.edu: "Re: send email from an IP that is aliased"
- In reply to: kona_iron_at_yahoo.fr: "securely access to application logs"
- Next in thread: kona_iron_at_yahoo.fr: "Re: securely access to application logs"
- Reply: kona_iron_at_yahoo.fr: "Re: securely access to application logs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Feb 2005 02:00:40 +0100
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: Marcin Dobrucki: "Re: Ldap question"
- Previous message: semovrs_at_concord.edu: "Re: send email from an IP that is aliased"
- In reply to: kona_iron_at_yahoo.fr: "securely access to application logs"
- Next in thread: kona_iron_at_yahoo.fr: "Re: securely access to application logs"
- Reply: kona_iron_at_yahoo.fr: "Re: securely access to application logs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|