nlf / bucker

A simple logging library for node.js
82 stars 28 forks source link

logstash grok config #13

Closed dishwashwebdesign closed 10 years ago

dishwashwebdesign commented 10 years ago

What are the chances of getting a logstash grok config added to bucker?

http://logstash.net/docs/1.2.2/filters/grok

filter { grok { match => [ "message", "%{IP:client} %{WORD:method} %{URIPATHPARAM:request} %{NUMBER:bytes} %{NUMBER:duration}" ] } }

Thanks for any feedback...

nlf commented 10 years ago

I'll have to look into it. Thanks for the suggestion!

nlf commented 10 years ago

After reading some of that documentation, I'm not sure I entirely follow what you're requesting. The grok filter in logstash is a configuration within logstash itself, not in the sender (which is what bucker is). You simply give it patterns and it parses it.

Is there something missing in bucker that prevents you from using these?

dishwashwebdesign commented 10 years ago

Sorry mate, I didnt do my homework of reading all them docs properly before writing here. Grok filters should be defined within logstash config. This issue can be closed :)