Description Usage Arguments Value Note Examples
Process a PCAP with Zeek and create Parquet files
1 | pcap_to_zeek(pcap, out_dir = tempfile(pattern = "zeek"), zeek_opts = c(), ...)
|
pcap |
path to PCAP to process. ( |
out_dir |
path to Parquet files. ( |
zeek_opts |
extra options passed to to Zeek command line. NOTE:
|
... |
extra named parameters passed on to |
length 1 character vector of the expanded path of the out_dir
the zeek
binary must be available on PATH
. You can use the
environment variable ZEEK_PATH
as a hint where find_zeek()
will
look for the zeek
binary.
1 2 3 4 5 6 7 8 9 | loc <- tryCatch(
pcap_to_zeek(system.file("pcap/ssh.pcap", package = "zeekr")),
error = function(e) message("No Zeek")
)
if (!is.null(loc)) {
read_zeek_logs(loc)
unlink(loc) # don't do this IRL until you're done working with or saving.
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.