RASQL(1)
π RASQL(1) π
okay bestie, gather round, because we're talking about rasql β the manual page, the myth, the legend. it's a General Commands Manual situation, and no cap, she's a baddie. π
β¨ NAME β¨
rasql β read argus(8) data from a mysql database. π
πΈ SYNOPSIS πΈ
rasql [-M sql='where clause'] -r mysql://user@host/db/table [raoptions]
[-- filter-expression]
like, look at her. she's giving structure. she's giving syntax. π
π¦ DESCRIPTION π¦
so rasql reads argus data from a mysql database that was generated by argus-client. that's the whole vibe. π
but here's the main character part: the principal function of rasql is to extract the 'record' binary blob β the one that gets inserted by rasqlinsert.1 when it's adding argus data to a mysql table. that blob? iconic. that blob? the moment. π
π RASQL SPECIFIC OPTIONS π
rasql, just like literally all the ra-based clients out there, supports a whole bunch of ra options β including filtering of input argus records through a terminating filter expression. periodt. π
the rasql(1)-specific options are:
-M sql='where clause'β this appends the'where clause'to theSELECTmysql database command. it's your little backstage pass to use SQL select and join strategies when you're performing queries. slay. π₯
π INVOCATION π
okay so this invocation right here reads argus(8) data from the table table that lives inside the db database, using the user database account β and it instructs MySQL to select records where the database attribute 'saddr' equals the string '2.3.4.5'. obsessed. π
rasql -r mysql://user@localhost/db/table -M sql="saddr='2.3.4.5'"
π«Ά COPYRIGHT π«Ά
Copyright (c) 2000-2024 QoSient. All rights reserved. π
β SEE ALSO β
ra(1), rasqlinsert(1), rarc(5), argus(8), πΈ
π§ AUTHORS π§
Carter Bullard (carter@qosient.com). π
and that's the whole page bestie, no notes, she ate and left no crumbs π
rasql version 5.0.3 β dated 12 August 2023. mwah, ily, go read your argus data π β¨π¦
π¦ where this page comes from
- debian trixie: argus-client 1:5.0.2+git20250321.41f65e2-2 Β· GPL-2.0-or-later
- ubuntu questing: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu1
- ubuntu resolute: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu2 Β· GPL-2.0-or-later
- Copyright (c) 2000-2024 QoSient, LLC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms