logstash-input-google-analytics-daily 0.1.2 → 0.1.3
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c900c5495c15f6d2ca8d4da5fcd75e7cd67284c95a2c16890dba7d809b7ffe7e
|
|
4
|
+
data.tar.gz: f27db80f91360b4a4b7c1bef9c0da1fb9054a7800b30398f6cfcbdffff661917
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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('
|
|
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.
|
|
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."
|