Jump to content

Connection Logging


Dazik
Go to solution Solved by pir8radio,

Recommended Posts

Dazik

Hello all,

 

It may seem yet another silly question (I'm drunk and reading search results is hard), but is there any extensive linux-style logging for connections to the web app?

 

I recently opened my server to a few family members (WAN), and I want to keep close tabs on all connections. I understand seeing them in the dashboard, but I also want to see any connections that haven't logged in, unfortunately my router is terrible at decent routing like this despite being exceedingly excellent elsewhere.

 

Basically, I want to know if there is a log I missed somewhere that shows all inbound connections to the web app, logged in or not. I attempted to use a private analytics embed but that's hard to do since you can really only use it on the login page, and even then it won't accurately log much since it only tracks the base connection to the page.

 

 

Just to note, I've kinda locked down connections via router + iptables to disallow connections that don't match my area, eg: blocking most of the world via iptables.

Edited by akensai
Link to comment
Share on other sites

  • Solution
pir8radio

I don't think there is anything within emby by default.   You can always put a reverse proxy like nginx in front of emby and get all kinds of cool stats, and extended logs.   I use nginx as the reverse proxy, and weblog expert  for the log analyzer.  It will give you host names, IP's times, files streamed, pages accessed, what users did what...  Handy for troubleshooting and keeping an eye on your server.  Below is a snip of user stats, and what emby client devices were used. 

 

58df173469e25_users.png

 

 

58df17e1ceaf4_client.png

58df174447009_devices.png

Edited by pir8radio
  • Like 1
Link to comment
Share on other sites

  • 3 years later...
vaise

@@pir8radio - what do you put for your nginx log format to get the emby user ?

I have no users in my logs.

Im using cloudflare and ssl if that matters.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...