logstash-input-google-analytics-daily 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 0cd3fb1f69b8620c9e7b271031208edbe87a94f47f3b04d336b324bc9f193918
4
- data.tar.gz: 2340ae2ed93d7709247ff7fa373204a744cfe337d04d6ab1f737f2270f1bb4ad
3
+ metadata.gz: c900c5495c15f6d2ca8d4da5fcd75e7cd67284c95a2c16890dba7d809b7ffe7e
4
+ data.tar.gz: f27db80f91360b4a4b7c1bef9c0da1fb9054a7800b30398f6cfcbdffff661917
5
5
  SHA512:
6
- metadata.gz: 9b5c034b1b129fcb22bc70ba910155594245caa2566c37d2d5898c1fef44e5a77d544f9d8210bea7824630c5f91d5a10372f1d8357d331433617565483929416
7
- data.tar.gz: 0d495b66014baddb11a7817773644f204cc084a8639677c0a32f3bbbeb633d78e39b05a1bb150e0e348e0ce684005d66bc014d0126a7ed6601c20321510badf8
6
+ metadata.gz: 908aafa767a278cc33a023e4d2b0a18a2b07f4cd8e97593fdfc1c1d6edf543e12ed45ee05fa35282d94eff6b51dc9b052da9b7761ccd8bf18853fbaf50070852
7
+ data.tar.gz: 4bc60ae4fc789762d26e7ce77176680b3bc215224a0f8af22c088c3fae8f2a92d2d8e4f4f5f2fe70feffadc2fd8442158116b214522a2bcbd61864c5a2424b21
@@ -134,7 +134,7 @@ class LogStash::Inputs::GoogleAnalyticsDaily < LogStash::Inputs::Base
134
134
  end
135
135
 
136
136
  # Use date and metrics as ID to prevent duplicate entries in Elasticsearch
137
- event.set('_id', event.get('ga.date') + options[:metrics])
137
+ event.set('[@metadata][id]', event.get('ga.date') + options[:metrics])
138
138
 
139
139
  rows = []
140
140
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-google-analytics-daily'
3
- s.version = '0.1.2'
3
+ s.version = '0.1.3'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Logstash plugin to pull daily reports from Google Analytics."
6
6
  s.description = "Logstash plugin to pull daily reports from the Google Analytics v3 Core Reporting API. Install into Logstash using $LS_HOME/bin/logstash-plugin install logstash-input-google-analytics-daily."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-google-analytics-daily
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shalvah