Skip to content

This is a basic tool to handle Fluent Bit's flb (chunk) files.

License

Notifications You must be signed in to change notification settings

chronosphereio/calyptia-chunk-inspector

Repository files navigation

Chunk Inspector

This is a basic tool to handle Fluent Bit's flb (chunk) files.

Usage

These are the subcommands currently supported:

check

It will check for corrupted/invalid flb files.

Usage of check:
  -dir string
        Directory containing the file(s) to process (default ".")
  -file string
        File to be processed
  -v    Activates verbose mode
$ chunk-inspector check
Filename 1-1642796665.47813680.flb OK
Filename 1-1642796694.873134717.flb Corrupted
$ chunk-inspector check -v    
Filename 1-1642796665.47813680.flb 
File size: 660 bytes
2 bytes from header: �
4 bytes from CRC: 
16 bytes read from Padding: 
Metadata Length: 122
OK
Filename 1-1642796694.873134717.flb 
File size: 24 bytes
Corrupted

dump

It will dump the user content of the flb file to the output file.

Usage of dump:
  -file string
        Flb file to be dumped.
  -out string
        Output file. (default "dump.out")

About

This is a basic tool to handle Fluent Bit's flb (chunk) files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages