mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
20fc465510
commit
ed57c5dc53
1 changed files with 2 additions and 0 deletions
|
@ -152,6 +152,8 @@ module LogStash
|
|||
# if extended_stats were provided, enrich the return value
|
||||
if extended_stats
|
||||
ret[:queue] = extended_stats["queue"] if extended_stats.include?("queue")
|
||||
ret[:hash] = extended_stats["hash"]
|
||||
ret[:ephemeral_id] = extended_stats["ephemeral_id"]
|
||||
if opts[:vertices] && extended_stats.include?("vertices")
|
||||
ret[:vertices] = extended_stats["vertices"].map { |vertex| decorate_vertex(vertex) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue