Class: LogStash::Api::Commands::System::Plugins
- Defined in:
- lib/logstash/api/commands/system/plugins_command.rb
Instance Attribute Summary
Attributes inherited from Base
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
#run ⇒ Object
9 10 11 |
# File 'lib/logstash/api/commands/system/plugins_command.rb', line 9 def run { :total => plugins.count, :plugins => plugins } end |