01-08-2012 02:45 AM
Anybody know how to do this? I would like to be able to tail in real time a single users web traffic. I was able to tail the accesslogs, but it does not seem to update as new entries come in.
Thank you
01-08-2012 11:41 PM
Hi Bob,
It should work as you said:
grep
1
username
y, n, y, n
Certainly does for me.
Thanks
Chris
01-09-2012 03:29 AM
Yeah I feel a bit stupid for asking as you answer is basically what I saw in a video link from within the support pages, but when I do that nothing happens. Maybe I just need to let it sit there for a moment longer. If I choose "N" to tail the accesslogs then shortly after I hit enter all of the archived logs start to scroll through. I'll have to try it again
Thank you for responding.
01-09-2012 03:55 AM
Could it be an unauthenticated site you are regexing? You could test using a different part of the log, the URL "google" for example.
Cheers
01-10-2012 08:21 AM
Bob,
If you're looking for a single user, you want to grep the user's IP.
Keep in mind that you're tailing a log file, and that the box will keep a certain amount of that in memory before it flushes it to disk... I tend to see a bit of lag on my S160...
Ken
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide