bottle scripts to injest json logs