Versions in this module Expand all Collapse all v0 v0.6.11 Jan 30, 2022 v0.6.10 Jan 22, 2022 v0.6.9 Jan 22, 2022 v0.6.8 Jan 22, 2022 v0.6.7 Jan 20, 2022 v0.6.6 Sep 16, 2021 Changes in this version + func Count(filename string) (count int64, err error) + func CreateElasticIndex(wc *WriterConfig) + func Dump(w *os.File, c DumpConfig) error + func FPrintBuildInfo(w io.Writer) + func FPrintLogo(w io.Writer) + func GenerateConfig(fs *flag.FlagSet, tool string) + func InitLabelManager(pathMappingInfo string, debug bool, scatter bool, ...) + func InitRecord(typ types.Type) (record proto.Message) + func NewHeader(t types.Type, source, version string, includesPayloads bool, ti time.Time) *types.Header + func PrintBuildInfo() + func PrintLogo() + func SetLogger(lg *zap.Logger) + type AuditRecordWriter interface + Close func(numRecords int64) (name string, size int64) + Write func(msg proto.Message) error + WriteHeader func(t types.Type) error + func NewAuditRecordWriter(wc *WriterConfig) AuditRecordWriter + type ChannelAuditRecordWriter interface + GetChan func() <-chan []byte + type DumpConfig struct + CSV bool + Fields bool + ForceColors bool + JSON bool + MemBufferSize int + Path string + Selection string + Separator string + Structured bool + TabSeparated bool + Table bool + UTC bool + type ElasticConfig struct + BulkSize int + ElasticAddrs []string + ElasticPass string + ElasticUser string + KibanaEndpoint string + LimitTotalFields int + type Reader struct + func Open(file string, memBufSize int) (*Reader, error) + func (r *Reader) Close() error + func (r *Reader) Next(msg proto.Message) error + func (r *Reader) ReadHeader() (*types.Header, error) + type WriterConfig struct + Buffer bool + CSV bool + Chan bool + ChanSize int + Compress bool + CompressionBlockSize int + CompressionLevel int + Elastic bool + Encode bool + IncludesPayloads bool + JSON bool + Label bool + MemBufferSize int + Name string + Null bool + Out string + Proto bool + Source string + StartTime time.Time + Type types.Type + UnixSocket bool + Version string v0.4.7 Mar 15, 2020 v0.4.6 Mar 14, 2020 v0.4.5 Feb 26, 2020 v0.4.4 Feb 24, 2020 v0.4.3 Feb 17, 2020 v0.4.2 Nov 12, 2019 v0.4.1 Oct 18, 2019 v0.4.0 May 8, 2019 Changes in this version + type AtomicDelimitedWriter struct + func NewAtomicDelimitedWriter(w *delimited.Writer) *AtomicDelimitedWriter + func (a *AtomicDelimitedWriter) PutProto(pb proto.Message) error + type CSVWriter struct + func NewCSVWriter(w io.Writer) *CSVWriter + func (w *CSVWriter) Close() error + func (w *CSVWriter) WriteHeader(msg proto.Message) (int, error) + func (w *CSVWriter) WriteRecord(msg proto.Message) (int, error) + type ChanWriter struct + func NewChanWriter() *ChanWriter + func (w *ChanWriter) Chan() <-chan []byte + func (w *ChanWriter) Close() error + func (w *ChanWriter) Write(p []byte) (int, error)