Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X Logs streaming in, but not rendering visualization #31

Open
gpatmore opened this issue Jun 4, 2015 · 4 comments
Open

Mac OS X Logs streaming in, but not rendering visualization #31

gpatmore opened this issue Jun 4, 2015 · 4 comments

Comments

@gpatmore
Copy link

gpatmore commented Jun 4, 2015

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.

@Fudge
Copy link
Owner

Fudge commented Jun 4, 2015

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
#31.

@gpatmore
Copy link
Author

gpatmore commented Jun 9, 2015

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 "-" "-"

@Fudge
Copy link
Owner

Fudge commented Jun 10, 2015

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
#31 (comment).

@gpatmore
Copy link
Author

thanks a bunch! love the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants