log_sense 1.2.2 → 1.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 793e7473effe036178ca643379f44eea040d15582aa10a26af0874f2cc0cd76b
|
4
|
+
data.tar.gz: '0950e85c8e60b3a7bdb815db354d0e156a52066405ac85c47996530875dd2eba'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0730de44eb8da2fb80a2f707b66e59d367bed09e71e19cb1a19d2044181ad5deb254f8461c375d2a45230408e5eb8c9aa248f5361c051f41e4406b3ebfdc400a
|
7
|
+
data.tar.gz: 45fb244c7d0fdc1edbbb75305c943b37a079e48f5e12ed9096c6c64e0e554051a56551bbe74b47f4edf40bd1738ea90a9357bd11d5e74f3395a4d87e7fd9dda9
|
@@ -14,11 +14,11 @@
|
|
14
14
|
<%= data[:log_size] %> <span class="stats-list-label">Total Entries</span>
|
15
15
|
</li>
|
16
16
|
<li class="stats-list-negative">
|
17
|
-
<%= data[:selfpolls_size] %> <span class="stats-list-label">Self Polls
|
17
|
+
<%= data[:selfpolls_size] %> <span class="stats-list-label">Self Polls</span>
|
18
18
|
</li>
|
19
19
|
<li class="stats-list-negative">
|
20
20
|
<td><%= data[:crawlers_size] %></td>
|
21
|
-
<span class="stats-list-label">Crawlers
|
21
|
+
<span class="stats-list-label">Crawlers</span>
|
22
22
|
</li>
|
23
23
|
</ul>
|
24
24
|
|
@@ -224,24 +224,93 @@
|
|
224
224
|
header: ["Day", "DOW", "Hits", "Visits", "Size"],
|
225
225
|
rows: data[:daily_distribution],
|
226
226
|
vega_spec: {
|
227
|
-
"
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
227
|
+
"layer": [
|
228
|
+
{
|
229
|
+
"mark": {
|
230
|
+
"type": "line",
|
231
|
+
"point": {
|
232
|
+
"filled": false,
|
233
|
+
"fill": "white"
|
234
|
+
}
|
235
|
+
},
|
236
|
+
"encoding": {
|
237
|
+
"y": {"field": "Hits", "type": "quantitative"}
|
238
|
+
}
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"mark": {
|
242
|
+
"type": "text",
|
243
|
+
"color": "#3E5772",
|
244
|
+
"align": "middle",
|
245
|
+
"baseline": "top",
|
246
|
+
"dx": -10,
|
247
|
+
"yOffset": -15
|
248
|
+
},
|
249
|
+
"encoding": {
|
250
|
+
"text": {"field": "Hits", "type": "quantitative"},
|
251
|
+
"y": {"field": "Hits", "type": "quantitative"}
|
252
|
+
}
|
253
|
+
},
|
254
|
+
|
255
|
+
{
|
256
|
+
"mark": {
|
257
|
+
"type": "line",
|
258
|
+
"color": "#A52A2A",
|
259
|
+
"point": {
|
260
|
+
"color": "#A52A2A",
|
261
|
+
"filled": false,
|
262
|
+
"fill": "white",
|
263
|
+
}
|
264
|
+
},
|
265
|
+
"encoding": {
|
266
|
+
"y": {"field": "Visits", "type": "quantitative"}
|
267
|
+
}
|
268
|
+
},
|
269
|
+
|
270
|
+
{
|
271
|
+
"mark": {
|
272
|
+
"type": "text",
|
273
|
+
"color": "#A52A2A",
|
274
|
+
"align": "middle",
|
275
|
+
"baseline": "top",
|
276
|
+
"dx": -10,
|
277
|
+
"yOffset": -15
|
278
|
+
},
|
279
|
+
"encoding": {
|
280
|
+
"text": {"field": "Visits", "type": "quantitative"},
|
281
|
+
"y": {"field": "Visits", "type": "quantitative"}
|
282
|
+
}
|
283
|
+
},
|
284
|
+
|
285
|
+
],
|
234
286
|
"encoding": {
|
235
287
|
"x": {"field": "Day", "type": "temporal"},
|
236
|
-
"y": {"field": "Hits", "type": "quantitative"}
|
237
288
|
}
|
238
289
|
}
|
290
|
+
|
239
291
|
},
|
240
292
|
{ title: "Time Distribution",
|
241
293
|
header: ["Hour", "Hits", "Visits", "Size"],
|
242
294
|
rows: data[:time_distribution],
|
243
295
|
vega_spec: {
|
244
|
-
"
|
296
|
+
"layer": [
|
297
|
+
{
|
298
|
+
"mark": "bar"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"mark": {
|
302
|
+
"type": "text",
|
303
|
+
"align": "middle",
|
304
|
+
"baseline": "top",
|
305
|
+
"dx": -10,
|
306
|
+
"yOffset": -15
|
307
|
+
},
|
308
|
+
"encoding": {
|
309
|
+
"text": {"field": "Hits", "type": "quantitative"},
|
310
|
+
"y": {"field": "Hits", "type": "quantitative"}
|
311
|
+
}
|
312
|
+
},
|
313
|
+
],
|
245
314
|
"encoding": {
|
246
315
|
"x": {"field": "Hour", "type": "nominal"},
|
247
316
|
"y": {"field": "Hits", "type": "quantitative"}
|
@@ -299,7 +368,21 @@
|
|
299
368
|
header: ["Browser", "Hits", "Visits", "Size"],
|
300
369
|
rows: data[:browsers],
|
301
370
|
vega_spec: {
|
302
|
-
"
|
371
|
+
"layer": [
|
372
|
+
{ "mark": "bar" },
|
373
|
+
{
|
374
|
+
"mark": {
|
375
|
+
"type": "text",
|
376
|
+
"align": "middle",
|
377
|
+
"baseline": "top",
|
378
|
+
"dx": -10,
|
379
|
+
"yOffset": -15
|
380
|
+
},
|
381
|
+
"encoding": {
|
382
|
+
"text": {"field": "Hits", "type": "quantitative"},
|
383
|
+
}
|
384
|
+
},
|
385
|
+
],
|
303
386
|
"encoding": {
|
304
387
|
"x": {"field": "Browser", "type": "nominal"},
|
305
388
|
"y": {"field": "Hits", "type": "quantitative"}
|
@@ -310,7 +393,21 @@
|
|
310
393
|
header: ["Platform", "Hits", "Visits", "Size"],
|
311
394
|
rows: data[:platforms],
|
312
395
|
vega_spec: {
|
313
|
-
"
|
396
|
+
"layer": [
|
397
|
+
{ "mark": "bar" },
|
398
|
+
{
|
399
|
+
"mark": {
|
400
|
+
"type": "text",
|
401
|
+
"align": "middle",
|
402
|
+
"baseline": "top",
|
403
|
+
"dx": -10,
|
404
|
+
"yOffset": -15
|
405
|
+
},
|
406
|
+
"encoding": {
|
407
|
+
"text": {"field": "Hits", "type": "quantitative"},
|
408
|
+
}
|
409
|
+
},
|
410
|
+
],
|
314
411
|
"encoding": {
|
315
412
|
"x": {"field": "Platform", "type": "nominal"},
|
316
413
|
"y": {"field": "Hits", "type": "quantitative"}
|
@@ -325,7 +422,7 @@
|
|
325
422
|
<% @reports.each_with_index do |report, index| %>
|
326
423
|
<article class="card cell <%= report[:col] || "small-12 large-6" %>" >
|
327
424
|
<div class="card-divider">
|
328
|
-
<h2>
|
425
|
+
<h2 id="<%= report[:title].downcase.gsub(' ', '-') %>">
|
329
426
|
<%= report[:title] %>
|
330
427
|
</h2>
|
331
428
|
</div>
|
@@ -218,24 +218,55 @@
|
|
218
218
|
header: ["Day", "DOW", "Hits"],
|
219
219
|
rows: data[:daily_distribution],
|
220
220
|
vega_spec: {
|
221
|
-
"mark": {
|
222
|
-
"type": "line",
|
223
|
-
"point": {
|
224
|
-
"filled": false,
|
225
|
-
"fill": "white"
|
226
|
-
}
|
227
|
-
},
|
228
221
|
"encoding": {
|
229
222
|
"x": {"field": "Day", "type": "temporal"},
|
230
223
|
"y": {"field": "Hits", "type": "quantitative"}
|
231
|
-
}
|
224
|
+
},
|
225
|
+
"layer": [
|
226
|
+
{
|
227
|
+
"mark": {
|
228
|
+
"type": "line",
|
229
|
+
"point": {
|
230
|
+
"filled": false,
|
231
|
+
"fill": "white"
|
232
|
+
}
|
233
|
+
}
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"mark": {
|
237
|
+
"type": "text",
|
238
|
+
"align": "left",
|
239
|
+
"baseline": "middle",
|
240
|
+
"dx": 5
|
241
|
+
},
|
242
|
+
"encoding": {
|
243
|
+
"text": {"field": "Hits", "type": "quantitative"}
|
244
|
+
}
|
245
|
+
}
|
246
|
+
]
|
232
247
|
}
|
233
248
|
},
|
234
249
|
{ title: "Time Distribution",
|
235
250
|
header: ["Hour", "Hits"],
|
236
251
|
rows: data[:time_distribution],
|
237
252
|
vega_spec: {
|
238
|
-
"
|
253
|
+
"layer": [
|
254
|
+
{
|
255
|
+
"mark": "bar",
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"mark": {
|
259
|
+
"type": "text",
|
260
|
+
"align": "middle",
|
261
|
+
"baseline": "top",
|
262
|
+
"dx": -10,
|
263
|
+
"yOffset": -15
|
264
|
+
},
|
265
|
+
"encoding": {
|
266
|
+
"text": {"field": "Hits", "type": "quantitative"}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
],
|
239
270
|
"encoding": {
|
240
271
|
"x": {"field": "Hour", "type": "nominal"},
|
241
272
|
"y": {"field": "Hits", "type": "quantitative"}
|
@@ -246,7 +277,23 @@
|
|
246
277
|
header: ["Status", "Count"],
|
247
278
|
rows: data[:statuses],
|
248
279
|
vega_spec: {
|
249
|
-
"
|
280
|
+
"layer": [
|
281
|
+
{
|
282
|
+
"mark": "bar"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"mark": {
|
286
|
+
"type": "text",
|
287
|
+
"align": "left",
|
288
|
+
"baseline": "top",
|
289
|
+
"dx": -10,
|
290
|
+
"yOffset": -20
|
291
|
+
},
|
292
|
+
"encoding": {
|
293
|
+
"text": {"field": "Count", "type": "quantitative"}
|
294
|
+
}
|
295
|
+
}
|
296
|
+
],
|
250
297
|
"encoding": {
|
251
298
|
"x": {"field": "Status", "type": "nominal"},
|
252
299
|
"y": {"field": "Count", "type": "quantitative"}
|
@@ -257,7 +304,11 @@
|
|
257
304
|
header: ['Controller', 'Hits', 'Min', 'Avg', 'Max'],
|
258
305
|
rows: @data[:performance],
|
259
306
|
vega_spec: {
|
260
|
-
"
|
307
|
+
"layer": [
|
308
|
+
{
|
309
|
+
"mark": "point"
|
310
|
+
},
|
311
|
+
],
|
261
312
|
"encoding": {
|
262
313
|
"x": {"field": "Avg", "type": "quantitative"},
|
263
314
|
"y": {"field": "Hits", "type": "quantitative"}
|
@@ -286,7 +337,7 @@
|
|
286
337
|
<% @reports.each_with_index do |report, index| %>
|
287
338
|
<article class="card cell <%= report[:col] || "small-12 large-6" %>" >
|
288
339
|
<div class="card-divider">
|
289
|
-
<h2>
|
340
|
+
<h2 id="<%= report[:title].downcase.gsub(' ', '-') %>">
|
290
341
|
<%= report[:title] %>
|
291
342
|
</h2>
|
292
343
|
</div>
|
data/lib/log_sense/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: log_sense
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adolfo Villafiorita
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apache_log-parser
|