Install the plugin using Plugin Manager bundled with OctoPrint :)
gillg/OctoPrint-PrintHistory
Plugin for OctoPrint - saves filename, print time and filament usage for each print
JavaScriptAGPL-3.0
Plugin for OctoPrint - saves filename, print time and filament usage for each print
JavaScriptAGPL-3.0