Class: LogStash::Api::Commands::System::Plugins

Inherits:
Base
  • Object
show all
Defined in:
lib/logstash/api/commands/system/plugins_command.rb

Instance Attribute Summary

Attributes inherited from Base

#service

Instance Method Summary collapse

Methods inherited from Base

#extract_metrics, #initialize, #started_at, #uptime

Constructor Details

This class inherits a constructor from LogStash::Api::Commands::Base

Instance Method Details

#runObject



9
10
11
# File 'lib/logstash/api/commands/system/plugins_command.rb', line 9

def run
  { :total => plugins.count, :plugins => plugins }
end