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

[wishlist] postalgia #2

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 7 comments
Open

[wishlist] postalgia #2

GoogleCodeExporter opened this issue Mar 15, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

Hi!

What about a logstalgia for postfix logs as well?

Cheers!

Luca 

Original issue reported on code.google.com by [email protected] on 10 May 2008 at 11:10

@GoogleCodeExporter
Copy link
Author

Interesting idea!

Original comment by [email protected] on 24 May 2008 at 6:35

  • Added labels: Type-Enhancement, Priority-Low
  • Removed labels: Type-Defect, Priority-Medium

@GoogleCodeExporter
Copy link
Author

Great program!!! 
Will be good ability to read any log file (mysql, syslog, etc.) and display data
using config file - what to parse, what to bounce, codes, points, colors etc.

Original comment by dmitry.bakaleinik on 5 Oct 2008 at 5:48

@GoogleCodeExporter
Copy link
Author

how come you forgot about ligghttpd :@

Original comment by [email protected] on 6 Oct 2008 at 10:49

@GoogleCodeExporter
Copy link
Author

Bump for lighttpd compatibility, but as someone else suggests a generic log file
parser might be a better addition. I'd suggest a regexp to parse out the 
following
data from each line of an arbitrary pipe...

* date and time
* from (IP or string = left-hand X position determined via custom function?)
* to (IP or string = right-hand X position determined via custom function?)
* generic latency time (milliseconds = speed of ball)
* size (bytes = size of ball determined by log, lin or exp function?)
* Code (int = ball colour defined by lookup table?)

...and then some sort of mechanism for custom attributes? Unfortunately I can't
program in C but I can build you a spec file and RPM for Fedora 9...

Original comment by [email protected] on 11 Oct 2008 at 11:25

@GoogleCodeExporter
Copy link
Author

here's a working model for sendmail logs this is already doable without any 
changes
to logstalgia and just a little perl glue.  I have sendmail logs here, but I 
think
you could modify the included perl to work just fine with postfix, or anything 
else
really.. the trick is that the custom log file will read 1 line at a time for a 
whole
record, so your glue must consolidate multiple lines in to 1 

logstalgia includes the ability to use custom log files and custom grouping... 
so
what I've done here is make the remote host the "from", the path the "to", the 
user
agent the subject ... it would be nice to give "user agent" a different name on 
the
command line, but no a big deal really

the whole command line will become:

tail -f /var/log/maillog | sendmail_to_logstalgia.pl | ./logstalgia -g
'Incoming','tempstop.(com|net|org)',49 -g 'Outgoing','.*',49 --sync

where 'tempstop.(com|net|org)' is the regex that matches your incoming email 
addresses


Original comment by ld%[email protected] on 7 Apr 2010 at 1:35

Attachments:

@GoogleCodeExporter
Copy link
Author

Nice.

Perhaps it could treat the first row of the log as headings if the first entry 
on the
first line is not numeric.

Also maybe if the log isn't specifically Apache, the labels should be more 
generic.

Original comment by [email protected] on 9 Apr 2010 at 1:12

@GoogleCodeExporter
Copy link
Author

can it be possible to add transparency for the black background ??

Original comment by [email protected] on 14 Oct 2010 at 7:07

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

No branches or pull requests

1 participant