mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- One final fix to this elasticsearch index type mapping hack. There's a
real fix, but I don't know what it is yet (need to talk with the ES folks)
This commit is contained in:
parent
762cd87ae5
commit
e878dcca46
1 changed files with 3 additions and 2 deletions
|
@ -92,12 +92,13 @@ class LogStash::Outputs::Elasticsearch < LogStash::Outputs::Base
|
|||
else raise "unknown elasticsearch method #{params["method"].inspect}"
|
||||
end
|
||||
|
||||
@callback.call(LogStash::Event.new({
|
||||
receive(LogStash::Event.new({
|
||||
"@source" => "@logstashinit",
|
||||
"@type" => "@none",
|
||||
"@message" => "Starting logstash output to elasticsearch",
|
||||
"@fields" => {
|
||||
"HOSTNAME" => Socket.gethostname
|
||||
}
|
||||
},
|
||||
}))
|
||||
|
||||
pending = @pending
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue