Class: LogStash::Outputs::MicrosoftSentinelOutput
- Inherits:
-
Base
- Object
- Base
- LogStash::Outputs::MicrosoftSentinelOutput
- Defined in:
- lib/logstash/outputs/microsoft-sentinel-log-analytics-logstash-output-plugin.rb
Instance Method Summary collapse
-
#close ⇒ Object
def multi_receive.
-
#multi_receive(events) ⇒ Object
def register.
- #register ⇒ Object
Instance Method Details
#close ⇒ Object
def multi_receive
92 93 94 |
# File 'lib/logstash/outputs/microsoft-sentinel-log-analytics-logstash-output-plugin.rb', line 92 def close @events_handler.close end |
#multi_receive(events) ⇒ Object
def register
88 89 90 |
# File 'lib/logstash/outputs/microsoft-sentinel-log-analytics-logstash-output-plugin.rb', line 88 def multi_receive(events) @events_handler.handle_events(events) end |
#register ⇒ Object
77 78 79 80 81 82 83 84 85 86 |
# File 'lib/logstash/outputs/microsoft-sentinel-log-analytics-logstash-output-plugin.rb', line 77 def register @logstash_configuration= build_logstash_configuration() # Validate configuration correctness @logstash_configuration.validate_configuration() @events_handler = @logstash_configuration.create_sample_file ? LogStash::Outputs::MicrosoftSentinelOutputInternal::SampleFileCreator::new(@logstash_configuration) : LogStash::Outputs::MicrosoftSentinelOutputInternal::LogsSender::new(@logstash_configuration) end |