gltail icon indicating copy to clipboard operation
gltail copied to clipboard

Mac OS X Logs streaming in, but not rendering visualization

Open gpatmore opened this issue 10 years ago • 4 comments

on OSX 10.10.3 when running in debug mode I can see the logs streaming in from the remote servers, but nothing gets rendered on the display.

I've tried installing from this source and installing from community gem, same behavior. In the console output stream this is the only feedback indicating anything is going wrong (this is printed out every so often)

543 frames in 10.000 seconds = 54.300 FPS Elements[0], Activities[0], Blobs[0/0]

not sure where to go from here. any help would be appreciated.

gpatmore avatar Jun 04 '15 16:06 gpatmore

Sounds like the parser isn't understanding the output of your logs.. Could I see an example line?

-- Erlend

On Thu, Jun 4, 2015 at 6:04 PM, gpatmore [email protected] wrote:

on OSX 10.10.3 when running in debug mode I can see the logs streaming in from the remote servers, but nothing gets rendered on the display.

I've tried installing from this source and installing from community gem, same behavior. In the console output stream this is the only feedback indicating anything is going wrong (this is printed out every so often)

543 frames in 10.000 seconds = 54.300 FPS Elements[0], Activities[0], Blobs[0/0]

not sure where to go from here. any help would be appreciated.

— Reply to this email directly or view it on GitHub https://github.com/Fudge/gltail/issues/31.

Fudge avatar Jun 04 '15 18:06 Fudge

output when running gltail with -d -v. I've just changed the endpoint URI and the ip addy for obvious reasons

hostname[gpatmore]: ###.###.###.### - - [09/Jun/2015:17:09:15 +0000] "POST /path/to/endpoint HTTP/1.1" 200 4220 "-" "-"

gpatmore avatar Jun 09 '15 17:06 gpatmore

That isn't a standard Apache/Nginx log format, so you'll have to add an initial match to the regexp used by the parser to eat the hostname[gpatmore]: part.

Edit lib/gl_tail/parsers/apache.rb, and change the first line in the parse function to something like: _, syslog, host, user, domain, date, url, status, size, referrer, useragent = /([^:]+): ([\d\S.]+) (\S+) (\S+) [([^]]+)] "(.+?)" (\d+) ([\S]+) "([^"]+)" "([^"]+)"/.match(line).to_a

-- Erlend

On Tue, Jun 9, 2015 at 7:12 PM, gpatmore [email protected] wrote:

output when running gltail with -d -v

hostname[gpatmore]: ###.###.###.### - - [09/Jun/2015:17:09:15 +0000] "POST /path/to/endpoint HTTP/1.1" 200 4220 "-" "-"

— Reply to this email directly or view it on GitHub https://github.com/Fudge/gltail/issues/31#issuecomment-110436794.

Fudge avatar Jun 10 '15 06:06 Fudge

thanks a bunch! love the app.

gpatmore avatar Jun 11 '15 14:06 gpatmore