Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite plugin using http client mixin #28

Merged
merged 20 commits into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# Copyright 2021 Dynatrace LLC
# Copyright 2023 Dynatrace LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
7 changes: 7 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Logstash Output Dynatrace
Copyright 2023 Dynatrace LLC

The Initial Developer of some parts of this plugin, which are copied from,
derived from, or inspired by Logstash Output HTTP, is
Elastic (https://www.elastic.co) and Logstash contributors.
Copyright 2020 Elastic and contributors.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,8 @@ It is recommended to leave this optional configuration set to `false` unless abs
Setting `ssl_verify_none` to `true` causes the output plugin to skip certificate verification when sending log ingest requests to SSL and TLS protected HTTPS endpoints.
This option may be required if you are using a self-signed certificate, an expired certificate, or a certificate which was generated for a different domain than the one in use.

### `codec`
dyladan marked this conversation as resolved.
Show resolved Hide resolved

* Value type is codec
* Default value is "plain"

The codec used for output data. Output codecs are a convenient method for encoding your data before it leaves the output without needing a separate filter in your Logstash pipeline.
> NOTE: Starting in version `0.4.0` this option has no effect in versions of logstash older than `8.1.0`.
dyladan marked this conversation as resolved.
Show resolved Hide resolved
> If this functionality is required it is recommended to update logstash or downgrade to version `0.3.2` of this plugin.
dyladan marked this conversation as resolved.
Show resolved Hide resolved

### `enable_metric`

Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env rake
# frozen_string_literal: true

# Copyright 2021 Dynatrace LLC
# Copyright 2023 Dynatrace LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 2 additions & 0 deletions docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,7 @@ It is recommended to leave this optional configuration set to `false` unless abs
Setting `ssl_verify_none` to `true` causes the output plugin to skip certificate verification when sending log ingest requests to SSL and TLS protected HTTPS endpoints.
This option may be required if you are using a self-signed certificate, an expired certificate, or a certificate which was generated for a different domain than the one in use.

NOTE: Starting in version `0.4.0` this option has no effect in versions of logstash older than `8.1.0`. If this functionality is required it is recommended to update logstash or downgrade to version `0.3.2` of this plugin.
dyladan marked this conversation as resolved.
Show resolved Hide resolved

[id="plugins-{type}s-{plugin}-common-options"]
include::{include_path}/{type}.asciidoc[]
7 changes: 4 additions & 3 deletions version.rb → lib/dynatrace/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# Copyright 2021 Dynatrace LLC
# Copyright 2023 Dynatrace LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,6 +15,7 @@
# limitations under the License.

module DynatraceConstants
# Also required to change the version in lib/logstash/outputs/dynatrace.rb
VERSION = '0.4.0'
require 'yaml'
VERSION = YAML.load_file(File.expand_path('../../version.yaml',
pirgeo marked this conversation as resolved.
Show resolved Hide resolved
File.dirname(__FILE__))).fetch('logstash-output-dynatrace')
end
Loading