mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
98f0670223
commit
d1c51f7d62
1 changed files with 6 additions and 2 deletions
|
@ -7,8 +7,12 @@ module LogStash
|
|||
module Commands
|
||||
class DefaultMetadata < Commands::Base
|
||||
def all
|
||||
{:host => host, :version => version, :http_address => http_address,
|
||||
:id => service.agent.id, :name => service.agent.name}
|
||||
{:host => host,
|
||||
:version => version,
|
||||
:http_address => http_address,
|
||||
:id => service.agent.id,
|
||||
:name => service.agent.name,
|
||||
:ephemeral_id => service.agent.ephemeral_id}
|
||||
end
|
||||
|
||||
def host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue