logstash-output-unomaly 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -4
- data/lib/logstash/outputs/unomaly.rb +2 -2
- data/logstash-output-unomaly.gemspec +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3aab35d857bc0c5856f58cb90f6fffcca8be0111ca95519c06d01dfea143178
|
4
|
+
data.tar.gz: 8c33e9e21a4c0b745edabebeafe7bca051f49a0e85e8260015eb0878d21a6e08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1348092dc18c270c8844ff4c1b172143e95b8abe10f7efbd32acfd30ada6cf108ac551aeb7b21b7b27f7267b9c6ec11db91f2be46d469cc2e6e8de7a773ff93e
|
7
|
+
data.tar.gz: 04523d40bff2117b83398288b398740a151a33e56acbaee22b6f03605cbc608a773e2c64ae508d5ff442b1d9ee9c0c8dba54101e8bd3f0ebb67b11246805e772
|
data/README.md
CHANGED
@@ -1,10 +1,14 @@
|
|
1
|
-
# Logstash output plugin for Unomaly
|
2
|
-
|
3
1
|
[![Build Status](https://travis-ci.org/unomaly/logstash-output-unomaly.svg?branch=master)](https://travis-ci.org/unomaly/logstash-output-unomaly)
|
4
2
|
|
5
|
-
This plugin sends Logstash events to the [Unomaly](https://www.unomaly.com) ingestion API (min version Unomaly 2.27).
|
3
|
+
This plugin sends Logstash events to the [Unomaly](https://www.unomaly.com) ingestion API (min version Unomaly 2.27).
|
4
|
+
|
5
|
+
# Getting started
|
6
6
|
|
7
|
+
## Installing through rubygems
|
7
8
|
|
9
|
+
`logstash-plugin install logstash-output-unomaly`
|
10
|
+
|
11
|
+
## Minimal configuration
|
8
12
|
```
|
9
13
|
output {
|
10
14
|
unomaly {
|
@@ -13,6 +17,7 @@ output {
|
|
13
17
|
}
|
14
18
|
```
|
15
19
|
|
20
|
+
|
16
21
|
# Important options
|
17
22
|
|
18
23
|
|
@@ -22,6 +27,7 @@ output {
|
|
22
27
|
| message_key | The key in the Logstash event that Unomaly should use for anomaly detection. | "message" |
|
23
28
|
| source_key | The event key defining the Unomaly system. | "host" |
|
24
29
|
| ssl_certificate_validation | Enable or disable SSL certificate validation | "strict" |
|
30
|
+
| keep_timestamp | If false, Unomaly will use the ingestion timestamp as the event timestamp | true |
|
25
31
|
|
26
32
|
See the [source code](lib/logstash/outputs/unomaly.rb) for the full list of options
|
27
33
|
|
@@ -37,4 +43,4 @@ See the [source code](lib/logstash/outputs/unomaly.rb) for the full list of opti
|
|
37
43
|
|
38
44
|
## Development
|
39
45
|
|
40
|
-
We use docker to build the plugin. You can build it by running `docker-compose run jruby gem build logstash-output-unomaly.gemspec `
|
46
|
+
We use docker to build the plugin. You can build it by running `docker-compose run jruby gem build logstash-output-unomaly.gemspec `
|
@@ -304,8 +304,8 @@ class LogStash::Outputs::Unomaly < LogStash::Outputs::Base
|
|
304
304
|
documents = []
|
305
305
|
chunk.each do |event|
|
306
306
|
unomaly_event = {
|
307
|
-
|
308
|
-
|
307
|
+
message: event.get(@message_key).to_s,
|
308
|
+
source: event.get(@source_key).to_s,
|
309
309
|
}
|
310
310
|
|
311
311
|
metadata = event.to_hash
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-unomaly'
|
3
|
-
s.version = '0.1.
|
3
|
+
s.version = '0.1.4'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Logstash output plugin for Unomaly"
|
6
6
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-unomaly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unomaly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core-plugin-api
|
@@ -113,8 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
|
-
|
117
|
-
rubygems_version: 2.7.7
|
116
|
+
rubygems_version: 3.0.3
|
118
117
|
signing_key:
|
119
118
|
specification_version: 4
|
120
119
|
summary: Logstash output plugin for Unomaly
|