mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -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}"
|
else raise "unknown elasticsearch method #{params["method"].inspect}"
|
||||||
end
|
end
|
||||||
|
|
||||||
@callback.call(LogStash::Event.new({
|
receive(LogStash::Event.new({
|
||||||
"@source" => "@logstashinit",
|
"@source" => "@logstashinit",
|
||||||
"@type" => "@none",
|
"@type" => "@none",
|
||||||
|
"@message" => "Starting logstash output to elasticsearch",
|
||||||
"@fields" => {
|
"@fields" => {
|
||||||
"HOSTNAME" => Socket.gethostname
|
"HOSTNAME" => Socket.gethostname
|
||||||
}
|
},
|
||||||
}))
|
}))
|
||||||
|
|
||||||
pending = @pending
|
pending = @pending
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue