csvtool

command
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README

csvtool

The csvtool is intended to convert the ArchiveRecord file format produced by tcp-info to more easily usable CSV files. csvtool currently only handles individual, raw or zstd compressed JSONL files as a source. Named files should be the only parameter. If reading uncompressed JSONL from STDIN, provide no argument.

Examples

Decompressing the JSONL file so that csvtool reads from stdin:

zstd -cd 2019/04/01/ndt-jdczh_1553815964_00000000000003E8.00184.jsonl.zst | ./csvtool > connection.csv

Directly read compressed format:

./csvtool 2019/04/01/ndt-jdczh_1553815964_00000000000003E8.00184.jsonl.zst > connection.csv

Documentation

Overview

Main package in csvtool implements a command line tool for converting ArchiveRecord files to CSV files. See cmd/csvtool/README.md for more information.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL