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

rasql - read argus(8) data from mysql database.

Authors

       Carter Bullard (carter@qosient.com).

rasql 3.0.8                                      12 August 2009                                         RASQL(1)

Description

Rasql reads argus data from an argus-client generated mysql database.

       The  principal function of rasql is to extract the 'record' binary blob that is inserted by rasqlinsert.1
       when adding argus data to a mysql table.

Invocation

       This invocation reads argus(8) data from the table table that is contained in the db database, using  the
       user  database account, and instructs MySQL to select records where the database attribute 'saddr' equals
       to the string '2.3.4.5'.

          rasql -r mysql://user@localhost/db/table -M sql="saddr='2.3.4.5'"

Name

rasql - read argus(8) data from mysql database.

Rasql Specific Options

       Rasql, like all ra based clients, supports a number of raoptions  including  filtering  of  input  argus
       records through a terminating filter expression.  rasql(1) specific options are:

       -Msql='whereclause'
           This  appends  the 'where clause' to the SELECT mysql database command.  providing a means to use SQL
           select and join strategies when performing queries.

See Also

ra(1),rasqlinsert(1),rarc(5),argus(8),

Synopsis

rasql [-Msql='whereclause'] -r mysql://user@host/db/table [raoptions] [--filter-expression]

See Also