etsy / logster

Parse log files, generate metrics for Graphite and Ganglia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with parser error on latest version

wingZero21 opened this issue · comments

Hi,

I am trying to test out the latest version of logster currently. I have copied the bin file and and running the same command instead on the file which is called logsternew.

It keeps bringing back the below error that its unable to find the parser modules but they do exist as when running it with the old file it runs ok.

Is there anywhere the specify the location of the parsers?

Details:
File "/usr/local/graphite/sources/logster/logsternew", line 358, in main
module = import(module_name, globals(), locals(), [parser_name])
ImportError: No module named logster.parsers.LsofcountLogster

wingZero21: for custom parsers you must supply the full module and parser name, and ensure the module is on your include path (as mentioned in the Usage section of the readme https://github.com/etsy/logster/blob/7475c53/README.md#usage )

Is the LsofcountLogster parser on your python include path?

If you're still having issues I recommend asking in the #codeascraft IRC channel on Freenode. That'd be a better environment in which to resolve any implementation problems you're having with Logster.