Sha256: 3a76fa232f8e2a43974ca7a74e1874aff9501907586f7eb670ae589ec04a9519
Contents?: true
Size: 489 Bytes
Versions: 19
Compression:
Stored size: 489 Bytes
Contents
# encoding: utf-8 require "logstash/api/commands/base" module LogStash module Api module Commands class DefaultMetadata < Commands::Base def all {:host => host, :version => version, :http_address => http_address} end def host Socket.gethostname end def version LOGSTASH_CORE_VERSION end def http_address service.agent.webserver.address end end end end end
Version data entries
19 entries across 19 versions & 4 rubygems