Class: LogStash::SpecialAgent

Inherits:
Agent
  • Object
show all
Defined in:
lib/logstash/special_agent.rb

Constant Summary

Constants inherited from Agent

Agent::DEFAULT_INPUT, Agent::DEFAULT_OUTPUT

Instance Attribute Summary

Attributes inherited from Agent

#config_loader, #pipelines

Instance Method Summary collapse

Methods inherited from Agent

#clean_state?, #configure, #configure_logging, #configure_plugin_paths, #create_pipeline, #debug_config=, #execute, #fail, #initialize, #pipeline_batch_delay=, #pipeline_batch_size=, #pipeline_workers=, #register_pipeline, #reload_pipeline!, #reload_state!, #running_pipeline?, #running_pipelines?, #shutdown, #shutdown_pipelines, #start_pipeline, #start_pipelines, #stop_pipeline, #trap_sighup, #trap_sigint, #trap_sigterm, #upgrade_pipeline, #validate_positive_integer, #warn

Constructor Details

This class inherits a constructor from LogStash::Agent

Instance Method Details

#fetch_config(settings) ⇒ Object



5
6
7
# File 'lib/logstash/special_agent.rb', line 5

def fetch_config(settings)
  Net::HTTP.get(settings["remote.url"])
end