DOKK / manpages / debian 12 / argus-client / rastrip.1.en
RASTRIP(1) General Commands Manual RASTRIP(1)

rastrip - strip argus(8) data file.

rastrip [-M [replace] [+|-]dsr [-M ...]] [raoptions] [-- filter-expression]

Rastrip reads argus data from an argus-data source, strips the records based on the criteria specified on the command line, and outputs a valid argus-stream. This is useful to reduce the size of argus data files. Rastrip always removes argus management transactions, thus having the same effect as a 'not man' filter expression.

Rastrip, like all ra based clients, supports a number of ra options including filtering of input argus records through a terminating filter expression. See ra(1) for a complete description of ra options. rastrip(1) specific options are:

Strip specified dsr (data set record).

Supported dsrs are:

flow key data (proto, saddr, sport, dir, daddr, dport)
time stamp fields (stime, ltime).
basic ([s|d]bytes, [s|d]pkts, [s|d]rate, [s|d]load)
aggregation stats (trans, avgdur, mindur, maxdur, stdev).
network objects (tcp, esp, rtp, icmp data).
VLAN tag data
MPLS label data
Jitter data ([s|d]jit, [s|d]intpkt)
IP attributes ([s|d]ipid, [s|d]tos, [s|d]dsb, [s|d]ttl)
src user captured data bytes (suser)
dst captured user data bytes (duser)
MAC addresses (smac, dmac)
ICMP specific data (icmpmap, inode)
Flow encapsulation type indications

In the default mode, without the -M option, rastrip removes the following default set of dsrs: encaps, agr, vlan, mpls, mac, icmp, ipattr, jitter, suser, duser

Replace the existing file with the newly striped file.

A sample invocation of rastrip(1). This call reads argus(8) data from inputfile and strips the default dsr set but keeps MAC addresses and writes the result to outputfile:

rastrip -M +mac -r inputfile -w outputfile

This call removes only captured user data and timings and writes the result to stdout:

rastrip -M -suser -M -duser -M -time -r inputfile

Copyright (c) 2000-2016 QoSient. All rights reserved.

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

Carter Bullard (carter@qosient.com).

07 November 2000 rastrip 3.0.8