logstash-input-signalsciences 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: adc669a1475396aeeb25ca851e61b8c69914ad72
4
- data.tar.gz: e7cbaf103b9ae261b76cdc3e8488041bf85ee654
3
+ metadata.gz: 7677c8fd764c77486906ebebb98b7d95a5d5d557
4
+ data.tar.gz: dc4601ef183dde9d4b8d4014d6cd0a06732b6b09
5
5
  SHA512:
6
- metadata.gz: 7b20bcccc6b23113c25b87e8a0d6274fc5c3c855c69c2b708e90cfe18534896686a77b66f3975125367e793d91e9be01521dc9706fcea6aacfd6c6c7338cd1b9
7
- data.tar.gz: 4f93b2eac90ce4fa3a3fe447d9ce3b6eaf4d2bc0330da3e500b3b8609b41fe8020a86ccad1b5a1ac84d157aff00f149a0403c53ed410d70f3557001560638750
6
+ metadata.gz: 20b7b7971d2f708fbfa0f866f80851770eba97c77e00176135ea4f1b2de098d598d587b3254cc4ed93ac2076aa37f26575c819d8176e3360c0623e9305774101
7
+ data.tar.gz: 7fccc04bca6c78d89918f8b16c1fb456c0c5d66ecc9ee1d5e993d301e1e892a991d815ef64537c9306fb92c3ad96cfb5c98eb3b2546607ab534066b5df32d714
data/CHANGELOG.md CHANGED
@@ -1,2 +1,5 @@
1
+ ## 0.1.1
2
+ - Fixed references to vulnerable dependencieas in Gemfile.lock
3
+
1
4
  ## 0.1.0
2
5
  - Plugin created with the logstash plugin generator
data/INSTRUCTIONS.md ADDED
@@ -0,0 +1,70 @@
1
+ # Instructions
2
+
3
+ This document aims to provide more detail on how to implement the logstash-input-signalsciences plugin.
4
+
5
+ ## Installation
6
+
7
+ There are two methods of installing this plugin.
8
+
9
+ 1. The plugin is published on rubygems.org (https://rubygems.org/gems/logstash-input-signalsciences) so it can be easily installed via Logstash by using the following command:
10
+
11
+ `logstash-plugin install logstash-input-signalciences`
12
+
13
+ 2. You can build and install the gem file locally by using the `Makefile` on your system. However, you will need to ensure Ruby requirements for building gem files are met. Use the following commands:
14
+
15
+ `make build`
16
+
17
+ This command will build and install the gem file. You will need to ensure the `logstash-plugin` command is in your PATH.
18
+
19
+ ## Configuration
20
+
21
+ Refer to the example configuration file [here](logstash-input-signalsciences.conf). The example file contains comments to explain each configuration option. This file assumes you will import the data into Elasticsearch using the logstash-output-elasticsearch plugin. However, you can certainly use any output plugin you like.
22
+
23
+ ## Quick Start - Running the ELK stack locally
24
+
25
+ This section is optional. If you want to run a local ELK stack to run or test this plugin with, below are
26
+ basic instructions for installing ELK on Mac OS. These instructions use Homebrew to install all packages.
27
+ You can find lots of ELK documentation online, this section is just intended to be a helpful quick overivew/guide.
28
+ you can also refer to Elasticsearch's getting started page: https://www.elastic.co/start
29
+
30
+ 1. The first requirement is Java 8, run:
31
+
32
+ ```
33
+ brew update
34
+ brew tap caskroom/versions
35
+ brew cask install java8
36
+ ```
37
+
38
+ Reference https://stackoverflow.com/questions/24342886/how-to-install-java-8-on-mac
39
+
40
+ 2. Next install Elasticsearch, Logstash, and Kibana, run:
41
+
42
+ ```
43
+ brew install elasticsearch
44
+ brew install logstash
45
+ brew install kibana
46
+ ```
47
+
48
+ With brew you can start/stop these services by running:
49
+
50
+ ```
51
+ brew services start elasticsearch
52
+ brew services start logstash
53
+ brew services start kibana
54
+
55
+ brew services stop elasticsearch
56
+ brew services stop logstash
57
+ brew services stop kibana
58
+ ```
59
+
60
+ ## Quick Start - Developing logstash plugins
61
+
62
+ This section references to help you get started with logstash plugin development.
63
+
64
+ 1. The article [So, You Want to Make a Logstash Plugin...](https://dzone.com/articles/so-you-want-to-make-a-logstash-plugin) is a great first step. It outlines installing Ruby requirements and setting up the Ruby environment. With this setup you can start developing on the logstash-input-signalsciences plugin, or any other plugin.
65
+
66
+ If you want to create a new plugin, see:
67
+
68
+ 1. Plugin generator https://www.elastic.co/guide/en/logstash/current/plugins-inputs-generator.html, usage: https://github.com/elastic/logstash/blob/master/docs/static/plugin-generator.asciidoc
69
+
70
+ 2. Submitting your plugin to [RubyGems.org and the Logstash-plugin repository] (https://www.elastic.co/guide/en/logstash/current/submitting-plugin.html).
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Logstash Plugin
1
+ # Logstash Input Plugin for Signal Sciences
2
2
 
3
3
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
4
4
 
@@ -26,6 +26,7 @@ class LogStash::Inputs::Signalsciences < LogStash::Inputs::Base
26
26
  # Number of seconds in the past to filter data on
27
27
  # This value will also be used to set the interval at which the API is polled.
28
28
  config :from, :validate => :number, :default => 600
29
+ # Debug for plugin development.
29
30
  config :debug, :validate => :boolean, :default => false
30
31
 
31
32
  # Set how frequently messages should be sent.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-signalsciences'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Logstash input plugin for Signal Sciences.'
6
6
  s.description = 'Logstash input plugin for the Signal Sciences request feed endpoint https://docs.signalsciences.net/api/#get-request-feed'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-signalsciences
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - foospidy
@@ -72,8 +72,8 @@ extra_rdoc_files: []
72
72
  files:
73
73
  - CHANGELOG.md
74
74
  - CONTRIBUTORS
75
- - DEVELOPER.md
76
75
  - Gemfile
76
+ - INSTRUCTIONS.md
77
77
  - LICENSE
78
78
  - README.md
79
79
  - lib/logstash/inputs/signalsciences.rb
data/DEVELOPER.md DELETED
@@ -1,2 +0,0 @@
1
- # logstash-input-signalsciences
2
- Example input plugin. This should help bootstrap your effort to write your own input plugin!