tst2005googlecode / logstalgia

Automatically exported from code.google.com/p/logstalgia
1 stars 0 forks source link

Logstalgia Seems to Unsync with my Logs if I get no traffic for a few mins #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Running Logstalgia for 10 Minutes
2.
3.

What is the expected output? What do you see instead?

I expect the logs to show every time a hit occurs on my website. For the first 
10 minutes it works fine but if there is no traffic for a few mins it seems to 
Unsync. I go to the website I an tracking and I dont see my own traffic. When I 
first start it I see it just fine.

What version of the product are you using? On what operating system?

I am using Logstalgia 1.0.0-1 on Ubunut 10.04. I have tried to install the 
newer version of Logstalgia but I get an error "Error: Dependency is not 
satisfiable: libpcre3 (>= 8.10)" and am not sure what to do. 

Please provide any additional information below.

Original issue reported on code.google.com by JamesRit...@gmail.com on 28 Jun 2012 at 6:35

GoogleCodeExporter commented 9 years ago
I suggest you maybe look into updating your Ubuntu to a newer version.

Original comment by acaudw...@gmail.com on 29 Jun 2012 at 7:08

GoogleCodeExporter commented 9 years ago
I just installed to the latest version of Logstalgia with the Latest version of 
ubuntu and I am getting the same problem. If I do not push traffic through 
constantly the Sync is lost and I can no longer view the traffic in real time.

Original comment by JamesRit...@gmail.com on 29 Jun 2012 at 4:00

GoogleCodeExporter commented 9 years ago
Could you post the command line you use to tail the logs. Also if possible 
could you try and confirm whether the command by itself shows the hits on the 
website that Logstalgia isn't showing. 

I wonder if the command itself is timing out, or if it is stopping when it 
reaches the end of the file.

Cheers

Andrew

Original comment by acaudw...@gmail.com on 30 Jun 2012 at 1:19

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm also experiencing that it's falling behind.

I'm running it on a local machine, but tailing logs from our production 
environment.

Local command (with grouping config removed for clarity):

ssh -t xxx@remotehost /home/xxx/weblogtail.sh | logstalgia --glow-intensity 1 
--glow-multiplier 7 --glow-duration 0.75 --paddle-position .75 --font-size 30 
-1920x1080 --sync -f -

And the remote script (weblogtail.sh):

tail -F /var/log/nginx/some.log /var/log/nginx/other.log 
/var/log/nginx/third.log | grep -v "pattern for unwanted lines"

Original comment by m...@refunite.org on 16 Jan 2014 at 10:37

GoogleCodeExporter commented 9 years ago
Oh, I forgot to mention: The clock shown in logstalgia is also falling behind. 
It seems logstalgia is somehow aware that it's late.

Original comment by m...@refunite.org on 16 Jan 2014 at 10:39

GoogleCodeExporter commented 9 years ago
Hi. It looks like the issue is grep buffering multiple entries before 
outputting them by default.

Try adding the --line-buffered option to grep for it to output per line.

Cheers

Andrew

Original comment by acaudw...@gmail.com on 27 Jan 2014 at 3:58