Skip to content

Commit

Permalink
[Heartbeat] Add keyword mapping for service.name (#30324) (#30353)
Browse files Browse the repository at this point in the history
* [Heartbeat] Add keyword mapping for service.name

Fixes elastic/uptime#452 by adding the proper
mapping for this field that was introduced some time ago

* changelog

(cherry picked from commit 8f67fbe)

Co-authored-by: Andrew Cholakian <[email protected]>
  • Loading branch information
mergify[bot] and andrewvc authored Feb 11, 2022
1 parent f6dcd5a commit 3dd3554
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,17 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d

*Filebeat*

- tcp/unix input: Stop accepting connections after socket is closed. {pull}29712[29712]
- Fix using log_group_name_prefix in aws-cloudwatch input. {pull}29695[29695]
- Fix multiple instances of the same module configured within `filebeat.modules` in filebeat.yml. {issue}29649[29649] {pull}29952[29952]
- aws-s3: fix race condition in states used by s3-poller. {issue}30123[30123] {pull}30131[30131]

*Filebeat*
- Fix broken Kafka input {issue}29746[29746] {pull}30277[30277]
- cisco module: Fix change the broke ASA and FTD configs that used `var.input: syslog`. {pull}30072[30072]

*Heartbeat*

- Fix missing mapping for `service.name`. {pull}30324[30324]

*Metricbeat*

Expand Down
7 changes: 7 additions & 0 deletions heartbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@
type: integer
description: >
The number of endpoints that failed
- key: service
title: "APM Service"
description:
fields:
- name: name
type: keyword
description: APM service name this monitor is linked to

- key: resolve
title: "Host lookup"
Expand Down
16 changes: 16 additions & 0 deletions heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ grouped in the following categories:
* <<exported-fields-kubernetes-processor>>
* <<exported-fields-process>>
* <<exported-fields-resolve>>
* <<exported-fields-service>>
* <<exported-fields-socks5>>
* <<exported-fields-summary>>
* <<exported-fields-synthetics>>
Expand Down Expand Up @@ -16016,6 +16017,21 @@ type: long
--
[[exported-fields-service]]
== APM Service fields
None
*`name`*::
+
--
APM service name this monitor is linked to
type: keyword
--
[[exported-fields-socks5]]
== SOCKS5 proxy fields
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/include/fields.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion x-pack/heartbeat/include/fields.go

Large diffs are not rendered by default.

0 comments on commit 3dd3554

Please sign in to comment.