Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > System > Logging

    Querylog 0.1

    Download button

    No screenshots available
    Downloads: 454  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.5/5)
    16 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Marcel Meulemans | More programs
    LGPL / FREE
    July 21st, 2006, 19:24 GMT
    ROOT / System / Logging

     Read user reviews (0)  Refer to a friend  Subscribe

    Querylog description

    Querylog is a console tool for performing SQL queries on a (log) file.

    Querylog project is a console tool for performing SQL queries on a (log) file.

    Lines from one or more text files or stdin are matched, using regular expressions to an in memory database on which SQL queries can be performed.

    You also specify queries in the config file (SELECT's, INSERT's, CREATE VIEW's, etc). Queries that generate output are printed to stdout in plain text at the moment. In the future it will be possible to specify output formatters. The tool is written in C++ using the boost program options and regex library and the sqlite libraries for the in memory database.

    I first wrote this tool to extract accounting information from cups page log files (in which accounting infomation was on different lines than job information), but due to the generic nature of the tool it can be used in many situations in which specific information needs to be retrieved from (in the future multiple) text files and presented in a more usable format.

    Building:

    You'll need the boost headers and libraries for (program_options and regex) which you can get at http://www.boost.org/, and the sqlite3 headers and libraries which you can get at http://www.sqlite.org/.

    I'm using boost build, so if you have that all you have to do is run:

    > bjam

    Alternativly, as the program now has only a single source file, you can just use g++ to compile and link it.

    I'll create a nicer build enviroment one of these days.

    Running:

    Options must be specified on the commandline or in a config file (key = ["]value["]). Run querylog --help for details. The input file may be ommited, in which case data will be read from stdin until the eof.

    Product's homepage

      


    TAGS:

    SQL queries | database logging | SQL logging | Querylog | SQL | queries

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM