mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
- make it easy to try using ruby marshal instead of json for wire format, for comparing speed. - Set Thread::abort_on_exception so when threads die due to simple syntax or name errors they don't die silently. - Add basic search client
10 lines
177 B
Ruby
10 lines
177 B
Ruby
#!/usr/bin/env ruby
|
|
#
|
|
|
|
require "rubygems"
|
|
require "lib/net/servers/indexer"
|
|
|
|
Thread::abort_on_exception = true
|
|
s = LogStash::Net::Servers::Indexer.new(host="snack.home")
|
|
s.run
|
|
|