util

command
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

README

NET.UTIL

net.util is a commandline tool that offers utility operations for netcap audit records.

Description

The tool can be used to check the validity of generated audit records, as well as converting netcap timestamps to human readable format.

Read more about this tool in the documentation: https://docs.netcap.io

Usage examples

Check audit records field count offered by the structure VS emitted CSV:

$ net.util -r TCP.ncap.gz -check

Perform check while using a custom separator string:

$ net.util -r TCP.ncap.gz -check -sep '/'

Convert a netcap timestamp to UTC time:

$ net.util -ts2utc 1505839354.197231
2017-09-19 16:42:34.197231 +0000 UTC

Help

$ net.util -h
    -check
            check number of occurences of the separator, in fields of an audit record file
    -r string
            read specified file, can either be a pcap or netcap audit record file
    -sep string
            set separator string for csv output (default ",")
    -ts2utc string
            util to convert seconds.microseconds timestamp to UTC

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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