Problem with grok discovery

97 views
Skip to first unread message

Mark Obsniuk

unread,
Jun 2, 2011, 7:47:12 PM6/2/11
to grok-...@googlegroups.com
I get the following error using the example found here
http://code.google.com/p/semicomplete/wiki/GrokDiscovery

echo "1.2.3.4" | ruby grokdiscovery.rb
/usr/lib/ruby/gems/1.8/gems/ffi-1.0.9/lib/ffi/memorypointer.rb:27:in
`from_string': undefined method `bytesize' for
"/mnt/home/mobsniuk/Documents/patterns/base":String (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/jls-grok-0.4.7/lib/grok.rb:62:in
`add_patterns_from_file'
from grokdiscovery.rb:7
from grokdiscovery.rb:7:in `each'
from grokdiscovery.rb:7

It took some time to get this far. Many little pieces of the install
didn't work and I had to install many packages.

Thanks,

Mark

Reply all
Reply to author
Forward
0 new messages