ephemeral id

Fixes #10589
This commit is contained in:
Mike Place 2019-03-22 09:52:36 -06:00 committed by Shaunak Kashyap
parent 98f0670223
commit d1c51f7d62

View file

@ -7,8 +7,12 @@ module LogStash
module Commands module Commands
class DefaultMetadata < Commands::Base class DefaultMetadata < Commands::Base
def all def all
{:host => host, :version => version, :http_address => http_address, {:host => host,
:id => service.agent.id, :name => service.agent.name} :version => version,
:http_address => http_address,
:id => service.agent.id,
:name => service.agent.name,
:ephemeral_id => service.agent.ephemeral_id}
end end
def host def host