Since ./cbq can be used on plain files also It be great to use it on log file(s) that only have JSON data and/or using CBFT would be great too. SELECT * FROM file_name_here WHERE message LIKE “failed over%”;
You can run log files containing queries using the new cbq shell that was released with 4.5.0.
You can use the SOURCE shell command as follows :
or use the input file option -f