Module: LogStash::Inputs::AkamaiSiem::Base

Defined in:
lib/logstash/inputs/akamai_siem/base.rb

Overview

This module makes it easy to add a very fully configured HTTP client to logstash based on [Manticore](github.com/cheald/manticore). For an example of its usage see github.com/logstash-plugins/logstash-input-http_poller

Defined Under Namespace

Classes: InvalidHTTPConfigError

Class Method Summary collapse

Class Method Details

.[](**a) ⇒ Object



10
11
12
# File 'lib/logstash/inputs/akamai_siem/base.rb', line 10

def self.[](**a)
  Adapter.new(**a)
end

.included(base) ⇒ Object



14
15
16
17
18
19
# File 'lib/logstash/inputs/akamai_siem/base.rb', line 14

def self.included(base)
  # TODO: deprecate the act of including this mixin directly,
  #       in a way that turns focus to plugin maintainers since
  #       an end-user cannot act to resolve the issue.
  base.include(Adapter.new(with_deprecated: true, with_akamai_siem: false))
end