snippetbashTip
sc_wartsfilter — Select specific records from a `.warts` file. More information: <https://www.caida.org/catalog/softw
Viewed 0 times
selectcommandspecificrecordsfromclisc_wartsfilterwarts
Problem
How to use the
sc_wartsfilter command: Select specific records from a .warts file. More information: <https://www.caida.org/catalog/software/scamper/>.Solution
sc_wartsfilter — Select specific records from a .warts file. More information: <https://www.caida.org/catalog/software/scamper/>.Filter all data records that had specific destinations and write them to a separate file:
sc_wartsfilter -i {{path/to/input.warts}} -o {{path/to/output.warts}} -a {{192.0.2.5}} -a {{192.0.2.6}}Filter all records that had certain destinations in a prefix and write them to a separate file:
sc_wartsfilter -i {{path/to/input.warts}} -o {{path/to/output.warts}} -a {{2001:db8::/32}}Filter all records that using a specific action and output them as JSON:
sc_wartsfilter -i {{path/to/input.warts}} -t {{ping}} | sc_warts2jsonCode Snippets
Filter all data records that had specific destinations and write them to a separate file
sc_wartsfilter -i {{path/to/input.warts}} -o {{path/to/output.warts}} -a {{192.0.2.5}} -a {{192.0.2.6}}Filter all records that had certain destinations in a prefix and write them to a separate file
sc_wartsfilter -i {{path/to/input.warts}} -o {{path/to/output.warts}} -a {{2001:db8::/32}}Filter all records that using a specific action and output them as JSON
sc_wartsfilter -i {{path/to/input.warts}} -t {{ping}} | sc_warts2jsonContext
tldr-pages: common/sc_wartsfilter
Revisions (0)
No revisions yet.