- before forwarding the indexeventrequest to the indexer, generate a new

message id for it.
This commit is contained in:
Jordan Sissel 2009-11-06 09:39:39 +00:00
parent ef35581319
commit 5e51250c20

View file

@ -52,6 +52,9 @@ module LogStash; module Net; module Servers
yield response
entry["@LOG_TYPE"] = log_type
# Make a new ID for this request before we forward it.
request.generate_id!
# Now we have a hash for the log data, send it to the indexer
request.log_data = entry
sendmsg("logstash-index", request)