[ale] Pulling log entries rather than pushing from DMZ host
Kenneth Ratliff
lists at noctum.net
Fri Mar 20 19:46:22 EDT 2009
On Mar 20, 2009, at 5:27 PM, Jim Popovitch wrote:
> 2009/3/20 Jeff Lightner <jlightner at water.com>:
>> We have a need to monitor logs for Tomcat and Apache on a new web
>> server
>> that is of course in DMZ.
>>
>> I know I can use syslog to sends logs from this host inside the
>> firewall but
>> I don’t want to initiate traffic from inside the DMZ.
>>
>> Is there any tool that would let me initiate a connection from my
>> internal
>> hosts to the DMZ host and pull log entries as they occur?
>
> There's a million ways... ;-) It all depends on what you want to do
> with the data you pick up.
>
> Here's some examples:
>
> ssh host.domain.tld tail -f /var/log/apache/access.log >
> host.domain.tld.log & tail -f host.domain.tld.log
>
> ssh host.domain.tld tail -f /var/log/apache/access.log |
> /usr/local/bin/script-on-local-pc
>
> etc.
>
> -Jim P.
Aww, cmon, no netcat? /grin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20090320/5388e9c7/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20090320/5388e9c7/attachment.bin
More information about the Ale
mailing list