Skip to content

Commit 8a7345c

Browse files
authored
Update default Elastic Stack to 8.7.1 (#1274)
Includes changes in the GCP test package to include a pipeline required for some fields.
1 parent e37f454 commit 8a7345c

File tree

4 files changed

+100
-2
lines changed

4 files changed

+100
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ test-stack-command-86:
6565
./scripts/test-stack-command.sh 8.6.2
6666

6767
test-stack-command-8x:
68-
./scripts/test-stack-command.sh 8.7.0-SNAPSHOT
68+
./scripts/test-stack-command.sh 8.8.0-SNAPSHOT
6969

7070
test-stack-command: test-stack-command-default test-stack-command-7x test-stack-command-800 test-stack-command-8x
7171

internal/install/stack_version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ package install
66

77
const (
88
// DefaultStackVersion is the default version of the stack
9-
DefaultStackVersion = "8.6.2"
9+
DefaultStackVersion = "8.7.1"
1010
)
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
description: Pipeline for parsing GCP Compute metrics.
3+
processors:
4+
- rename:
5+
field: gcp.metrics.firewall.dropped.bytes
6+
target_field: gcp.compute.firewall.dropped.bytes
7+
ignore_missing: true
8+
- rename:
9+
field: gcp.metrics.firewall.dropped_packets_count.value
10+
target_field: gcp.compute.firewall.dropped_packets_count.value
11+
ignore_missing: true
12+
- rename:
13+
field: gcp.metrics.instance.cpu.reserved_cores.value
14+
target_field: gcp.compute.instance.cpu.reserved_cores.value
15+
ignore_missing: true
16+
- rename:
17+
field: gcp.metrics.instance.cpu.usage_time.sec
18+
target_field: gcp.compute.instance.cpu.usage_time.sec
19+
ignore_missing: true
20+
- rename:
21+
field: gcp.metrics.instance.cpu.usage.pct
22+
target_field: gcp.compute.instance.cpu.usage.pct
23+
ignore_missing: true
24+
- rename:
25+
field: gcp.metrics.instance.disk.read.bytes
26+
target_field: gcp.compute.instance.disk.read.bytes
27+
ignore_missing: true
28+
- rename:
29+
field: gcp.metrics.instance.disk.read_ops_count.value
30+
target_field: gcp.compute.instance.disk.read_ops_count.value
31+
ignore_missing: true
32+
- rename:
33+
field: gcp.metrics.instance.disk.write.bytes
34+
target_field: gcp.compute.instance.disk.write.bytes
35+
ignore_missing: true
36+
- rename:
37+
field: gcp.metrics.instance.disk.write_ops_count.value
38+
target_field: gcp.compute.instance.disk.write_ops_count.value
39+
ignore_missing: true
40+
- rename:
41+
field: gcp.metrics.instance.memory.balloon.ram_size.value
42+
target_field: gcp.compute.instance.memory.balloon.ram_size.value
43+
ignore_missing: true
44+
- rename:
45+
field: gcp.metrics.instance.memory.balloon.ram_used.value
46+
target_field: gcp.compute.instance.memory.balloon.ram_used.value
47+
ignore_missing: true
48+
- rename:
49+
field: gcp.metrics.instance.memory.balloon.swap_in.bytes
50+
target_field: gcp.compute.instance.memory.balloon.swap_in.bytes
51+
ignore_missing: true
52+
- rename:
53+
field: gcp.metrics.instance.memory.balloon.swap_out.bytes
54+
target_field: gcp.compute.instance.memory.balloon.swap_out.bytes
55+
ignore_missing: true
56+
- rename:
57+
field: gcp.metrics.instance.network.ingress.bytes
58+
target_field: gcp.compute.instance.network.ingress.bytes
59+
ignore_missing: true
60+
- rename:
61+
field: gcp.metrics.instance.network.ingress.packets.count
62+
target_field: gcp.compute.instance.network.ingress.packets.count
63+
ignore_missing: true
64+
- rename:
65+
field: gcp.metrics.instance.network.egress.bytes
66+
target_field: gcp.compute.instance.network.egress.bytes
67+
ignore_missing: true
68+
- rename:
69+
field: gcp.metrics.instance.network.egress.packets.count
70+
target_field: gcp.compute.instance.network.egress.packets.count
71+
ignore_missing: true
72+
- rename:
73+
field: gcp.metrics.instance.uptime.sec
74+
target_field: gcp.compute.instance.uptime.sec
75+
ignore_missing: true
76+
- rename:
77+
field: gcp.metrics.instance.uptime_total.sec
78+
target_field: gcp.compute.instance.uptime_total.sec
79+
ignore_missing: true
80+
- remove:
81+
field:
82+
- gcp.metrics
83+
ignore_missing: true
84+
on_failure:
85+
- set:
86+
field: error.message
87+
value: '{{ _ingest.on_failure_message }}'
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"attributes": {
3+
"color": "#6092C0",
4+
"description": "All assets to monitor GCP",
5+
"name": "GCP"
6+
},
7+
"coreMigrationVersion": "7.17.0",
8+
"id": "gcp-e1a359e5-543d-44c2-ab81-628138719e28",
9+
"references": [],
10+
"type": "tag"
11+
}

0 commit comments

Comments
 (0)