mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- before forwarding the indexeventrequest to the indexer, generate a new
message id for it.
This commit is contained in:
parent
ef35581319
commit
5e51250c20
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue