logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dqtool - Display the contents of a disk-buffer file created with

Author

       This manual page was written by the Balabit Documentation Team <documentation@balabit.com>.

Description

       NOTE: The dqtool application is distributed with the system logging application, and is usually part of
       the syslog-ng package. The latest version of the syslog-ng application is available at the officialsyslog-ngwebsite[1].

       This manual page is only an abstract, for the complete documentation of syslog-ng, see TheAdministratorGuide[2].

       The dqtool application is a utility that can be used to display and format the messages stored in a
       disk-buffer file.

Files

       /usr/bin/dqtool

Name

       dqtool - Display the contents of a disk-buffer file created with

Notes

        1. official syslog-ng website
           https://www.balabit.com/log-management

        2. The Administrator Guide
           https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide

        3. syslog-ngmailinglist
           https://lists.balabit.hu/mailman/listinfo/syslog-ng

        4. syslog-ngblogs
           https://syslog-ng.org/blogs/

4.8                                                03/16/2025                                          DQTOOL(1)

See Also

syslog-ng.conf(5)

       syslog-ng(8)

           Note

           For the detailed documentation of see The4.8AdministratorGuide[2]

           If you experience any problems or need help with syslog-ng, visit the syslog-ngmailinglist[3].

           For news and notifications about of syslog-ng, visit the syslog-ngblogs[4].

Synopsis

dqtool [command] [options]

The Cat Command

cat [options] [file]

       Use the cat command to display the log messages stored in the disk-buffer (also called disk-queue) file,
       and also information from the header of the disk queue file. The messages are printed to the standard
       output (stdout), so it is possible to use grep and other tools to find particular log messages, e.g.,
       dqtoolcat/var/log/messages.lgs|grep192.168.1.1.

       The cat command has the following options:

       --debug or -d
           Print diagnostic and debugging messages to stderr.

       --help or -h
           Display a brief help message.

       --template=<template> or -t
           Format the messages using the specified template.

       --verbose or -v
           Print verbose messages to stderr.

       --version or -V
           Display version information.

       Example:

           ./dqtool cat ../var/syslog-ng-00000.qf

       The output looks like:

           Disk-buffer state loaded; filename='../var/syslog-ng-00000.qf', qout_length='65', qbacklog_length='0', qoverflow_length='9205', qdisk_length='0'
           Mar  3 10:52:05 tristram localprg[1234]: seq: 0000011630, runid: 1267609923, stamp: 2010-03-03T10:52:05 PADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADD
           Mar  3 10:52:05 tristram localprg[1234]: seq: 0000011631, runid: 1267609923, stamp: 2010-03-03T10:52:05 PADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADD

See Also