Skip to content

Commit e7b0b06

Browse files
comments
1 parent 7521735 commit e7b0b06

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/logstash/outputs/elasticsearch/common.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
module LogStash; module Outputs; class ElasticSearch;
44
module Common
5+
6+
# This module defines common methods that can be reused by alternate elasticsearch output plugins such as the elasticsearch_data_streams output.
7+
58
attr_reader :client, :hosts
69

710
# These codes apply to documents, not at the request level

lib/logstash/outputs/elasticsearch/license_check.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ module ElasticSearchPoolMixin
44
module LicenseChecker
55

66
# This mixin is used to externalize the license checking behaviour of the LogStash::Outputs::ElasticSearch::HttpClient::Pool class.
7-
# This mixin used the following Pool methods: get_license, logger. Make sure these are defined in the license_check_mixin_spec.rb
7+
# This mixin uses the following Pool methods: get_license, logger. Make sure these are defined in the license_check_mixin_spec.rb.
88

99
# Perform a license check
10-
# The license_check! methods is the method called from within the Pool class
10+
# The license_check! methods is the method called from LogStash::Outputs::ElasticSearch::HttpClient::Pool#healthcheck!
1111
# @param url [LogStash::Util::SafeURI]
1212
# @param meta [Hash]
1313
def license_check!(url, meta)

0 commit comments

Comments
 (0)