Scan keys and display summary right away with selected output and output params
Scan command builds prefix tree in memory and then displays the usage summary. To avoid scanning redis instance when trying different output formats use index
and display
commands
redis-inventory inventory redis://[:<password>@]<host>:<port>[/<dbIndex>] [flags]
-h, --help help for inventory
-l, --logLevel string Level of logs to be displayed (default "info")
-m, --maxChildren int Maximum children node can have before start aggregating (default 10)
-o, --output string One of possible outputs: json, jsonp, table (default "table")
-p, --output-params string Parameters specific for output type
-k, --pattern string Glob pattern limiting the keys to be aggregated (default "*")
-c, --scanCount int Number of keys to be scanned in one iteration (argument of scan command) (default 1000)
-s, --separators string Symbols that logically separate levels of the key (default ":")
-t, --throttle int Throttle: number of nanoseconds to sleep between keys