"Ian Sealy" <[EMAIL PROTECTED]> wrote

> Is it possible to apply different DNS commands to different LOGFILEs?
> I rotate my logs on a monthly basis and when they're rotated Apache's
> logresolve is used to resolve numerical IP addresses. Analog is used
> to produce reports on the rotated logs (that have already been parsed
> with logresolve) and the current log (which just has numerical IP
> addresses). I'd like Analog to run with DNS WRITE for the current log,
> but with DNS NONE for the rotated logs (since the only numerical IP
> addresses they contain are ones that won't resolve to a name).
>
> Is there any way of doing what I want?

I don't think you can do this directly in Analog, but even if there was a
way, you might find it unsatisfactory, because Analog is quite slow at
resolving DNS entries. You would be far better off using one of the DNS
helpers listed at http://analog.cx/helpers/index.html#dns to create a DNS
file for the unresolved log file and just use DNS READ.

Aengus

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to