Re: 'mirroring' or 'streaming' a text log file?

From: Damien Hull <dhull@digitaloverload.net>
Date: Thu Apr 28 2005 - 23:12:47 AKDT

Thomison, Lee wrote:

>Hi folks,
>
>
>I did this a couple of years ago, and it seemed really simple then, but
>I can't remember how I did it.
>
>
>
>I've got an (closed, proprietary) app running on a solaris 2.5.1 box
>that writes its logs in text format, several lines a second sometimes.
>
>
>
>I need to duplicate these to another machine, so that the files are
>'mirrors' of each other; as the one is written to, it feeds the
>duplicate.
>
>
>
>Even better would be 'streaming' the log file to my logging host's
>syslog-ng (the solaris boxen use legacy syslog, not syslog-ng). I think
>I ended up doing it with a startup service, so it wasn't just a
>'background' job, it was a real reflecting service.
>
>
>
>This seemed really easy and obvious a few years ago, but for the life of
>me I can't remember how I did it. Any thoughts?
>
>
>
>Thx,
>
>
>---------
>To unsubscribe, send email to <aklug-request@aklug.org>
>with 'unsubscribe' in the message body.
>
>
Didn't have a chance to look at the syslog option yet but I had another
idea. What about using netcat? If that's not an option you could use cat
and pype it to another system.

Just a thought.
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Apr 28 23:12:39 2005

This archive was generated by hypermail 2.1.8 : Thu Apr 28 2005 - 23:12:39 AKDT