- Try to work around some weird index type mapping bug/pebcak.

This commit is contained in:
Jordan Sissel 2011-01-10 21:38:55 -08:00
parent 4654755e7d
commit d9d78927d8

View file

@ -88,6 +88,14 @@ class LogStash::Outputs::Elasticsearch < LogStash::Outputs::Base
end
else raise "unknown elasticsearch method #{params["method"].inspect}"
end
@callback.call(LogStash::Event.new({
"@source" => "@logstashinit",
"@type" => "@none",
"@fields" => {
"HOSTNAME" => Socket.gethostname
}
}))
end # def ready
public