Re: [389-users] logconv.pl does not accept start End dates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Prashanth Sundaram wrote:
> All,
>
> When I run this I don’t get any usable output(empty template shows 
> up). But when I don;t specify dates, it just works.
>
> $ logconv.pl -S "[04/Apr/2010:15:00:00 -0400]" -E 
> "[04/May/2010:15:00:00 -0400]" -V /var/log/dirsrv/slapd-poe111/access*
>
> Access Log Analyzer 6.0
>
> Command : logconv.pl -S [04/Apr/2010:15:00:00 -0400] -E 
> [04/May/2010:15:00:00 -0400] -V /var/log/dirsrv/slapd-poe111/access 
> /var/log/dirsrv/slapd-poe111/access.20100414-154711
>
> The help menu has this syntax. Not sure what I am doing wrong.
>
> ./logconv.pl -S "[28/Mar/2002:13:14:22 -0800]" -E 
> "[28/Mar/2002:13:50:05 -0800]" -e access
>
> Any help is very much appreciated.
The -S and -E arguments are rather stupid - they must be actual 
date/timestamps found in the access log. It won't do what you would 
expect e.g. if you specify -S "[04/Apr/2010:15:00:00 -0400]" you would 
expect logconv.pl to scan lines at or after 04/Apr/2010:15:00:00 -0400 - 
but it won't, unless you have that actual date/timestamp in your access log.
>
> Thanks,
> Prashanth
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users


[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux