Log file replication - Linux

This is a discussion on Log file replication - Linux ; I have a custom app that writes its own log on a server. I would like to have a program on the server that would watch the log and replicate changes to a different server for analysis. The program that ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Log file replication

  1. Log file replication

    I have a custom app that writes its own log on a server. I would like
    to have a program on the server that would watch the log and replicate
    changes to a different server for analysis.

    The program that would appear to do this is logtail.pl. The problem
    is, I can't figure out how to set it up. It would seem obvious that
    you would have the receiving server running logtail in a listen mode
    ("logtail.pl -l"?). Then, you would have logtail on the app's server
    feeding it ("logtail -e "?).

    I'm doing something wrong because each time I set up logtail to
    listen, it generates a HUGE string of "...:" and, upon doing a port
    scan, it is not listening on port 5741 (its default port, according to
    the documentation).

    What am I doing wrong? or...

    What utilities are there that would do what I would like to do (and
    how do you configure them... )?

    Thanks in advance!

    - Jon

  2. Re: Log file replication

    jon@jonfullmer.com (Jon Fullmer) wrote in message news:<91dc67ec.0404131745.7605cd6a@posting.google.com>...
    > I have a custom app that writes its own log on a server. I would like
    > to have a program on the server that would watch the log and replicate
    > changes to a different server for analysis.
    >
    > The program that would appear to do this is logtail.pl. The problem
    > is, I can't figure out how to set it up. It would seem obvious that
    > you would have the receiving server running logtail in a listen mode
    > ("logtail.pl -l"?). Then, you would have logtail on the app's server
    > feeding it ("logtail -e "?).
    >
    > I'm doing something wrong because each time I set up logtail to
    > listen, it generates a HUGE string of "...:" and, upon doing a port
    > scan, it is not listening on port 5741 (its default port, according to
    > the documentation).
    >
    > What am I doing wrong? or...
    >
    > What utilities are there that would do what I would like to do (and
    > how do you configure them... )?
    >
    > Thanks in advance!
    >
    > - Jon


    check wots, watcher of the skies
    But you'll also need to HUP, restart wots when the logfile is rotated.

    Hope this helps,

    Tolga Ceylan

+ Reply to Thread