[SLL] seeking Web-based pager / log file viewer

Phil Mocek pmocek-sll at mocek.org
Mon May 12 09:34:03 PDT 2008


On Thu, May 08, 2008 at 10:24:13AM -0700, Phil Mocek wrote:
> I need to make some log files available via HTTP, and simply
> pointing the Web server at them is not going to work, as I don't
> want to send the whole file every time.
> 
> The ability to tail a file would be very useful but is not
> necessary.  There need not be any interpretation of the content of
> the files, so anything that can do this with plain text would be
> fine (although highlighting Apache and PostgreSQL logs would be
> great).  Access control is not a concern, and I'm not worried
> about cross-site scripting vulnerabilities.

I haven't yet found anything that I think I can drop into place and
have working in 30 minutes, so I haven't gotten very far on this.

Suggestions made here were:

    * Splunk
        * <http://www.splunk.com/product>
        * Scope is more broad than my needs.  Not a problem, but
          likely necessitates additional setup & configuration.
        * Not in Debian repositories
        * APT package available from authors
        * Abundance of images of people on Web site suggests its
          target user is more interested in smiley stock photos
          than in technical details
            * "Splunk is IT Search"

    * php-syslog-ng
        * <http://code.google.com/p/php-syslog-ng/>
        * Would require my apps to log via syslog, and to have
          syslog messages to be stored in a MySQL database
        * Not in Debian repositories
        * Quick once-over suggests it does nice searching &
          filtering of syslog entries, but not Web-based tailing

    * use of HTTP's provision for requesting range of bytes from
      requested resource
        * Could be useful for building something that fits my
          needs, but higher-level than what I need now.

Thanks, Francois and Robert.

I suspect that Splunk will provide what I need, but their
marketing-crapola-heavy Web site's repeated insistence that it
does everything for everyone, that I *will* love it, etc., is
not reassuring, and has all the marks of something aimed at
Microsofties and managers of program managers.  Yuck.

I'll follow-up here after I've found a chance to dig in further.  

-- 
Phil Mocek


More information about the linux-list mailing list