Plugin/Add-on to Log browser history with timestamp | HTTPheader

Hello guyz,

is there any good plug-in to add on Firefox/chrome to log browser session to a single file & autosave it.

I have used several like live http header, httpfox and other but none serves the purpose.

What I want ?
I want to graph the usage of my internet access . Like how many times I used FB, gmail , gsmarena etc and how much long time and various parameters possible.

OS:ubuntu 15
ELK stack

Thanks
Smit