logstash-input-elf-se 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8165a2fcb6f2bb89ee5941fca277198509e73be
4
- data.tar.gz: d73da80353190004384bba5c4d6f984e46c6e857
3
+ metadata.gz: 29c829dc6384b873854d2d64d945943b0bca65b2
4
+ data.tar.gz: 544f1e05844e5dd13bc5d410eed912ee9747d212
5
5
  SHA512:
6
- metadata.gz: fd5674f1694f3bc4e7a28618513082a89642b2c7ee2612c3b6f7fdcd4e333e1880133d47044866d2a0bc6dd2a33150186c4bfc252a681eb2c51504af77fc84e4
7
- data.tar.gz: 2ae9b58384d6c3e594b851ebea0d2f423d3e496d8b721adb8b1eb4bdf3541d870d7e9d66c31efee20bce9d60712cc17459ee444de6dad0a3484cb363ce09016d
6
+ metadata.gz: 267118d093d757b37bc871004c71ae14c0a0ef5348b6f340ff3f9ecf5e67514c85836ac391005ad4bf056e3e270a718d983105574f92d778040a270791c067bd
7
+ data.tar.gz: 221031b76344028b4e960e2b9a2f94dbac7a0aa98a23c63f2ce2d9f6c190dd2a734eef62247055684b8c202b0ea6cf33aeee700269d1191e9f4d660fc7169e5f
@@ -139,7 +139,7 @@ class QueueUtil
139
139
  # @client.http_get method.
140
140
  #
141
141
  # After grabbing the CSV file we then store them using the standard Tempfile library. Tempfile will create a unique
142
- # file each time using 'sfdc_elf_tempfile' as the prefix and finally we will be returning a list of Tempfile object,
142
+ # file each time using 'elf-se_tempfile' as the prefix and finally we will be returning a list of Tempfile object,
143
143
  # where the user can read the Tempfile and then close it and unlink it, which will delete the file.
144
144
 
145
145
  public
@@ -148,7 +148,7 @@ class QueueUtil
148
148
  result = []
149
149
  query_result_list.each do |event_log_file|
150
150
  # Get the path of the CSV file from the LogFile field, then stream the data to the .write method of the Tempfile
151
- tmp = Tempfile.new('sfdc_elf_tempfile')
151
+ tmp = Tempfile.new('elf-se_tempfile')
152
152
  client.streaming_download(event_log_file.LogFile, tmp)
153
153
 
154
154
  # Flushing will write the buffer into the Tempfile itself.
@@ -1,14 +1,14 @@
1
1
  # encoding: utf-8
2
2
  require 'logstash/inputs/base'
3
3
  require 'logstash/namespace'
4
- require_relative 'sfdc_elf/client_with_streaming_support'
5
- require_relative 'sfdc_elf/queue_util'
6
- require_relative 'sfdc_elf/state_persistor'
7
- require_relative 'sfdc_elf/scheduler'
4
+ require_relative 'elf-se/client_with_streaming_support'
5
+ require_relative 'elf-se/queue_util'
6
+ require_relative 'elf-se/state_persistor'
7
+ require_relative 'elf-se/scheduler'
8
8
 
9
9
  # This plugin enables Salesforce customers to load EventLogFile(ELF) data from their Force.com orgs. The plugin will
10
10
  # handle downloading ELF CSV file, parsing them, and handling any schema changes transparently.
11
- class LogStash::Inputs::SfdcElf < LogStash::Inputs::Base
11
+ class LogStash::Inputs::ElfSe < LogStash::Inputs::Base
12
12
  LOG_KEY = 'SFDC'
13
13
  RETRY_ATTEMPTS = 3
14
14
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-elf-se'
3
- s.version = '0.1.1'
3
+ s.version = '0.1.2'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'A Logstash plugin the receives events from Salesforce EventLogFile'
6
6
  s.description = 'This gem is a logstash plugin required to be installed on top of the Logstash core pipeline
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-elf-se
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sid
@@ -101,10 +101,10 @@ files:
101
101
  - LICENSE
102
102
  - README.md
103
103
  - lib/logstash/inputs/elf-se.rb
104
- - lib/logstash/inputs/sfdc_elf/client_with_streaming_support.rb
105
- - lib/logstash/inputs/sfdc_elf/queue_util.rb
106
- - lib/logstash/inputs/sfdc_elf/scheduler.rb
107
- - lib/logstash/inputs/sfdc_elf/state_persistor.rb
104
+ - lib/logstash/inputs/elf-se/client_with_streaming_support.rb
105
+ - lib/logstash/inputs/elf-se/queue_util.rb
106
+ - lib/logstash/inputs/elf-se/scheduler.rb
107
+ - lib/logstash/inputs/elf-se/state_persistor.rb
108
108
  - logstash-input-elf-se.gemspec
109
109
  - spec/inputs/elf-se_spec.rb
110
110
  homepage: https://github.com/siddharatha/logstash-input-elf-se