.\" .\" Argus-5.0 Software .\" Copyright (c) 2000-2024 QoSient, LLC .\" All rights reserved. .\" .\" .TH RASQLTIMEINDEX 1 "12 August 2023" "rasqltimeindex 5.0.3" .SH NAME \fBrasqltimeindex\fP \- read \fBargus(8)\fP data from mysql database. .SH SYNOPSIS .B rasqltimeindex -r argus.data.file -w mysql://user@host/db .SH DESCRIPTION .IX "rasqltimeindex command" "" "\fBrasqltimeindex\fP \(em argus data" .LP \fBRasqltimeindex\fP index .BR argus data files by time. The principal function of rasqltimeindex is to provide fast access to indexed argus data files based on time. Rasqltimeindex, like all ra based clients, supports a number of \fBra options\fP \fBrasqltimeindex(1)\fP specific options are: .SH RASQLTIMEINDEX SPECIFIC OPTIONS .TP 4 4 .B \-w Specify the mysql database to use in maintaining the 'Seconds', 'Probe', and 'Filename' database index tables. .SH INVOCATION This invocation reads \fBargus(8)\fP data from the \fIfile\fP argus.file and creates an index of every second in the file in the \fIdb\fP database, using the \fIuser\fP database account. .nf \fBrasqltimeindex\fP -r argus.file -w mysql://user@localhost/db .fi To take advantage of the speedup provided by the time indexing, use \fBrasql\fP to read the mysql database, with a time filter. This example will read from the database that contains the 'Seconds', 'Probe', and 'Filename' database index tables, and search for all flow records from 00:00:00 - 00:00:25, 20 days ago. .nf \fBrasql\fP -r mysql://user@localhost/db -t -20d+25s .fi .SH COPYRIGHT Copyright (c) 2000-2024 QoSient. All rights reserved. .SH SEE ALSO .BR ra(1), .BR rasql(1), .BR rarc(5), .BR argus(8), .SH AUTHORS .nf Carter Bullard (carter@qosient.com). .fi