This is a basic tool to handle Fluent Bit's flb (chunk) files.
These are the subcommands currently supported:
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
CorruptedIt 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")