From f2ee0d33b5892f8151ba5c4351eb4193a1d652a5 Mon Sep 17 00:00:00 2001 From: Andrew Cholakian Date: Wed, 19 Oct 2022 16:05:53 -0500 Subject: [PATCH] [Heartbeat] Only support elasticsearch output for synthetics integration (#1491) * [Heartbeat] Only support elasticsearch output for synthetics integration Heartbeat should only support the elasticsearch output due to the requirement that we connect back to ES to retrieve prior state, as well as the complex and exacting nature of our schema. * Add buildspec * Add changelog * Remove test that configures heartbeat+logstash Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Craig MacKenzie --- .../1665780486-heartbeat-es-output-only.yaml | 31 +++++++++++++++++++ internal/pkg/agent/program/program_test.go | 2 +- internal/pkg/agent/program/supported.go | 2 +- .../testdata/logstash_config-heartbeat.yml | 29 ----------------- internal/spec/heartbeat.yml | 3 +- 5 files changed, 34 insertions(+), 33 deletions(-) create mode 100644 changelog/fragments/1665780486-heartbeat-es-output-only.yaml delete mode 100644 internal/pkg/agent/program/testdata/logstash_config-heartbeat.yml diff --git a/changelog/fragments/1665780486-heartbeat-es-output-only.yaml b/changelog/fragments/1665780486-heartbeat-es-output-only.yaml new file mode 100644 index 00000000000..1e3b4059ddf --- /dev/null +++ b/changelog/fragments/1665780486-heartbeat-es-output-only.yaml @@ -0,0 +1,31 @@ +# Kind can be one of: +# - breaking-change: a change to previously-documented behavior +# - deprecation: functionality that is being removed in a later release +# - bug-fix: fixes a problem in a previous version +# - enhancement: extends functionality but does not break or fix existing behavior +# - feature: new functionality +# - known-issue: problems that we are aware of in a given version +# - security: impacts on the security of a product or a user’s deployment. +# - upgrade: important information for someone upgrading from a prior version +# - other: does not fit into any of the other categories +kind: feature + +# Change summary; a 80ish characters long description of the change. +summary: Only support elasticsearch as an output for the beta synthetics integration. + +# Long description; in case the summary is not enough to describe the change +# this field accommodate a description without length limits. +# description: + +# Affected component; a word indicating the component this changeset affects. +component: synthetics-integration + +# PR number; optional; the PR number that added the changeset. +# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added. +# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number. +# Please provide it if you are adding a fragment for a different PR. +pr: 1491 + +# Issue number; optional; the GitHub issue related to this changeset (either closes or is part of). +# If not present is automatically filled by the tooling with the issue linked to the PR number. +#issue: 1234 diff --git a/internal/pkg/agent/program/program_test.go b/internal/pkg/agent/program/program_test.go index a318d23e02a..cd095d3e481 100644 --- a/internal/pkg/agent/program/program_test.go +++ b/internal/pkg/agent/program/program_test.go @@ -393,7 +393,7 @@ func TestConfiguration(t *testing.T) { }, "logstash_config": { programs: map[string][]string{ - "default": {"filebeat", "fleet-server", "heartbeat", "metricbeat", "endpoint", "packetbeat"}, + "default": {"filebeat", "fleet-server", "metricbeat", "endpoint", "packetbeat"}, "elasticsearch": {"filebeat"}, }, }, diff --git a/internal/pkg/agent/program/supported.go b/internal/pkg/agent/program/supported.go index 52685137b97..ed17610fcb5 100644 --- a/internal/pkg/agent/program/supported.go +++ b/internal/pkg/agent/program/supported.go @@ -27,7 +27,7 @@ func init() { // internal/spec/metricbeat.yml // internal/spec/osquerybeat.yml // internal/spec/packetbeat.yml - unpacked := packer.MustUnpack("eJzce1mTo0h39v33M+b2s/2ylGoaR7wXgmo2qagRapGQd2SmCiQlSFMCSeDwf3dksggQqqVnPB77oiK6U5DLybM85zmH//hlk2brtzSk/zge1vgf4SH51+P67bR++7ciob/8+y8o0TP4Yx8tPNWZew7FKaQ4OmwRWDxahn5GS7GEvi1B35oFvi2EAMaBPPpbist9BM77yNKszF1aR0uzswBMYih5GQQTYZ54eQDsIwQLhZi2CJfWUdtMI2sj6tbmHFkJ2fqySnHiUJQuFNvM1NV38Yfr2cD17FdXUMxFub88P6mKFR2IlngP2FAKYng7XxIpMe1DID8/WvpxZmnTTeCr2dyvz7SxjhoVZjj1jtB/fmTrzpfqFsnqxJfdky9dDlhe8HFLm0aWQQUIhEfLgEcIPKEdN93Ty0Y9oFQVifk842PaNELS5DWQlBwml0Mln8kJyVP2e2Y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oGTW6Xwels+V0az12dEdTTyi5TCzTEbHJAqFbWo/ej1FAmqyz1w0esb4fwBNwQre1NtYfhNQfWUg1VT7+0UfTtnFAhvAxxd3Q6KlLka8eeWn349aQL35YwtJtckAJzhFPic8KNLwNAXg4bxqIyhn69pbN+33p/v5j5a1WO/rwCWo8g75bhMCp042mJ27CoDmnEsbOpb3pDfqyxonHUouC6MoJUaXWNvclkOIYJYRZZqX1aUtbvNGS8ole5frua6rkc+0o79FEAAot/dq2vLQf7LzbDzag5nq9uR2a5wNKxxn2+P6tKL4QLP53UX2Gd0dMO2Y6weWkK7w/9loqGEDODs3X3+NgfPBx1Wg54q2oNVKC4G1F+l0+K5TGNkt7+v53A//TJeiPqOi6DMT95NttVp07uO2tLpiN+5voH6uHC4/w3zd3r7PlrYyqeXjr172luV00cEv3aj2aqI8chr2bV7osC0BGfUkvcKJPRvW49RMDCF7pSrvnL/Zdd95bfIECHFIKX6cNf7pnu/Mtxy/MMZIefeIMpldCT+mkF38qfdiLm++XEnoxMR+LDW0p+vwVKrIfaxu5vNsf3JNBTAPgUjZndf7R9sABPvgb9Pfuj3/k69diDP7JzoUAr1j3uyJOWNZF6NuTYWfEF7oivg79vtLd+6luCPvnO4DrT+3QUD7vdj8qJfY9itPd7Oe6/Jr3adWl+9nuPtM9IOCdiL+4tx4ez92O5TcSxW5HRPPZ3AC2NZ3KHfVv3IundCBLa3IMrvJOEWRQLsMQcGaPuY6Ehfa3uzN+4XOO3ueDQwaZmXZ9f4OqwngH8ac/Mxh8M/yXdwx/8O3vbYdWv+OKJZSxYmmPiqXh8vkhSEeTxkOId+sxymZl6NtQ8oRe0miyYJPR5uOLNmkscOZWdZMPEkb2zM2z734TwKVSiHrVN/1+D1X/2TcTxfStj25x/8w/T9v8Ij3Srz2/SY2cA+C8whGO8P9Y7/xHX8HPfvvP//dfAQAA//81uZ/e") SupportedMap = make(map[string]Spec) for f, v := range unpacked { diff --git a/internal/pkg/agent/program/testdata/logstash_config-heartbeat.yml b/internal/pkg/agent/program/testdata/logstash_config-heartbeat.yml deleted file mode 100644 index fbddfbe022e..00000000000 --- a/internal/pkg/agent/program/testdata/logstash_config-heartbeat.yml +++ /dev/null @@ -1,29 +0,0 @@ -inputs: -- type: synthetics/http - id: unique-http-id - name: my-http - schedule: '*/5 * * * * * *' - host: "http://localhost:80/service/status" - timeout: 16s - wait: 1s - data_stream.namespace: default - processors: - - add_fields: - target: 'elastic_agent' - fields: - id: agent-id - version: 8.0.0 - snapshot: false - - add_fields: - target: 'agent' - fields: - id: agent-id -output: - logstash: - ssl.certificate: abcert - ssl.key: abckey - hosts: - - 127.0.0.1:5044 - ssl.certificate_authorities: - - abc1 - - abc2 diff --git a/internal/spec/heartbeat.yml b/internal/spec/heartbeat.yml index ecb373cf791..640cbfa1c91 100644 --- a/internal/spec/heartbeat.yml +++ b/internal/spec/heartbeat.yml @@ -20,5 +20,4 @@ rules: - inputs - output - keystore -when: length(${inputs}) > 0 and hasKey(${output}, 'elasticsearch', 'redis', - 'kafka', 'logstash') +when: length(${inputs}) > 0 and hasKey(${output}, 'elasticsearch') # Heartbeat only supports ES