| 1 |
.\" |
| 2 |
.\" Argus-5.0 Software |
| 3 |
.\" Copyright (c) 2000-2024 QoSient, LLC |
| 4 |
.\" All rights reserved. |
| 5 |
.\" |
| 6 |
.\" |
| 7 |
.TH RASQLTIMEINDEX 1 "12 August 2023" "rasqltimeindex 5.0.3" |
| 8 |
.SH NAME |
| 9 |
\fBrasqltimeindex\fP \- read \fBargus(8)\fP data from mysql database. |
| 10 |
.SH SYNOPSIS |
| 11 |
.B rasqltimeindex -r argus.data.file -w mysql://user@host/db |
| 12 |
.SH DESCRIPTION |
| 13 |
.IX "rasqltimeindex command" "" "\fBrasqltimeindex\fP \(em argus data" |
| 14 |
.LP |
| 15 |
\fBRasqltimeindex\fP index |
| 16 |
.BR argus |
| 17 |
data files by time. |
| 18 |
|
| 19 |
The principal function of rasqltimeindex is to provide fast access |
| 20 |
to indexed argus data files based on time. |
| 21 |
|
| 22 |
Rasqltimeindex, like all ra based clients, supports a number of \fBra options\fP |
| 23 |
\fBrasqltimeindex(1)\fP specific options are: |
| 24 |
|
| 25 |
.SH RASQLTIMEINDEX SPECIFIC OPTIONS |
| 26 |
.TP 4 4 |
| 27 |
.B \-w <mysql://[user[:pass]@]host[:port]/db> |
| 28 |
Specify the mysql database to use in maintaining the 'Seconds', 'Probe', and 'Filename' |
| 29 |
database index tables. |
| 30 |
|
| 31 |
|
| 32 |
.SH INVOCATION |
| 33 |
This invocation reads \fBargus(8)\fP data from the \fIfile\fP argus.file and |
| 34 |
creates an index of every second in the file in the \fIdb\fP database, using |
| 35 |
the \fIuser\fP database account. |
| 36 |
.nf |
| 37 |
|
| 38 |
\fBrasqltimeindex\fP -r argus.file -w mysql://user@localhost/db |
| 39 |
|
| 40 |
.fi |
| 41 |
|
| 42 |
To take advantage of the speedup provided by the time indexing, use \fBrasql\fP to |
| 43 |
read the mysql database, with a time filter. This example will read from the database |
| 44 |
that contains the 'Seconds', 'Probe', and 'Filename' database index tables, |
| 45 |
and search for all flow records from 00:00:00 - 00:00:25, 20 days ago. |
| 46 |
.nf |
| 47 |
|
| 48 |
\fBrasql\fP -r mysql://user@localhost/db -t -20d+25s |
| 49 |
|
| 50 |
.fi |
| 51 |
|
| 52 |
|
| 53 |
.SH COPYRIGHT |
| 54 |
Copyright (c) 2000-2024 QoSient. All rights reserved. |
| 55 |
|
| 56 |
.SH SEE ALSO |
| 57 |
.BR ra(1), |
| 58 |
.BR rasql(1), |
| 59 |
.BR rarc(5), |
| 60 |
.BR argus(8), |
| 61 |
|
| 62 |
.SH AUTHORS |
| 63 |
.nf |
| 64 |
Carter Bullard ([email protected]). |
| 65 |
.fi |