logstash-output-dynatrace 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +4 -4
- data/lib/logstash/outputs/dynatrace.rb +3 -0
- data/version.yaml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9281b9e498b9986e45d25eaadc74358f95547551baf97132483533997edf134d
|
4
|
+
data.tar.gz: 27bc3095ec54575becfaf75eb2b7bca7d186f95b2ab239713e83f8b9f58b363b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4863a8fae10fe23afc85d4a6e31290ba3c0628d974c57c8cec6306adc2ba1da5c73905c7597c0954cb095ea1a24c6e182d028d8d7289f05951f77c214255b48
|
7
|
+
data.tar.gz: 53281ec7c6a7a8f6ac5dffae9cde5babe61d0a1b962d5c903e7e60975bb00d0528efc57c21c3b35d6f9bfc18b84c1549221c18dbe8ca3ae75e8cde764a94d7b7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## 0.6.0
|
2
|
+
|
3
|
+
- Disable cookie processing by default
|
4
|
+
|
5
|
+
## 0.5.1
|
6
|
+
|
7
|
+
- Split large batches into smaller requests in order to meet Dynatrace API payload size limitations
|
8
|
+
|
9
|
+
## 0.5.0
|
10
|
+
|
11
|
+
- Rewrite plugin using http client mixin
|
12
|
+
|
1
13
|
## 0.4.0
|
2
14
|
|
3
15
|
- Add` OpenSSL::SSL::SSLError` to the list of retried exception
|
data/README.md
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
<!-- omit in toc -->
|
1
2
|
# Logstash Dynatrace output plugin
|
2
3
|
|
3
4
|
[![Travis Build Status](https://api.travis-ci.com/dynatrace-oss/logstash-output-dynatrace.svg?branch=main)](https://app.travis-ci.com/dynatrace-oss/logstash-output-dynatrace)
|
@@ -14,13 +15,12 @@
|
|
14
15
|
- [`ingest_endpoint_url`](#ingest_endpoint_url)
|
15
16
|
- [`api_key`](#api_key)
|
16
17
|
- [`ssl_verify_none`](#ssl_verify_none)
|
17
|
-
- [`codec`](#codec)
|
18
18
|
- [`enable_metric`](#enable_metric)
|
19
19
|
- [`id`](#id)
|
20
20
|
- [Troubleshooting issues](#troubleshooting-issues)
|
21
21
|
- [Enable Debug Logs](#enable-debug-logs)
|
22
22
|
|
23
|
-
A [Logstash](https://github.com/elastic/logstash) output plugin for sending logs to the Dynatrace [Generic log ingest API v2](https://
|
23
|
+
A [Logstash](https://github.com/elastic/logstash) output plugin for sending logs to the Dynatrace [Generic log ingest API v2](https://docs.dynatrace.com/docs/shortlink/api-log-monitoring-v2-post-ingest).
|
24
24
|
Please review the documentation for this API before using the plugin.
|
25
25
|
|
26
26
|
## Installation Prerequisites
|
@@ -81,7 +81,7 @@ The following configuration options are supported by all output plugins:
|
|
81
81
|
* Value type is [string](https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html#string)
|
82
82
|
* Required
|
83
83
|
|
84
|
-
This is the full URL of the [Generic log ingest API v2](https://
|
84
|
+
This is the full URL of the [Generic log ingest API v2](https://docs.dynatrace.com/docs/shortlink/api-log-monitoring-v2-post-ingest/) endpoint on your ActiveGate.
|
85
85
|
Example: `"ingest_endpoint_url" => "https://abc123456.live.dynatrace.com/api/v2/logs/ingest"`
|
86
86
|
|
87
87
|
### `api_key`
|
@@ -89,7 +89,7 @@ Example: `"ingest_endpoint_url" => "https://abc123456.live.dynatrace.com/api/v2/
|
|
89
89
|
* Value type is [string](https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html#string)
|
90
90
|
* Required
|
91
91
|
|
92
|
-
This is the [Dynatrace API token](https://
|
92
|
+
This is the [Dynatrace API token](https://docs.dynatrace.com/docs/shortlink/api-authentication) which will be used to authenticate log ingest requests.
|
93
93
|
It requires the `logs.ingest` (Ingest Logs) scope to be set and it is recommended to limit scope to only this one.
|
94
94
|
Example: `"api_key" => "dt0c01.4XLO3..."`
|
95
95
|
|
@@ -77,6 +77,9 @@ module LogStash
|
|
77
77
|
# Maximum size payload to send to the Dynatrace API in Bytes. Batches of events which would be larger than max_payload_size when serialized will be split into smaller batches of events.
|
78
78
|
config :max_payload_size, validate: :number, default: 4_500_000
|
79
79
|
|
80
|
+
# Disable cookie support. Overridden default value from LogStash::PluginMixins::HttpClient
|
81
|
+
config :cookies, :validate => :boolean, :default => false
|
82
|
+
|
80
83
|
def register
|
81
84
|
# ssl_verification_mode config is from mixin but ssl_verify_none is our documented config
|
82
85
|
@ssl_verification_mode = 'none' if @ssl_verify_none
|
data/version.yaml
CHANGED
@@ -1 +1 @@
|
|
1
|
-
logstash-output-dynatrace: '0.
|
1
|
+
logstash-output-dynatrace: '0.6.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-dynatrace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dynatrace Open Source Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-codec-json
|