Skip to content

Commit

Permalink
[7.17](backport #30324) [Heartbeat] Add keyword mapping for service.n…
Browse files Browse the repository at this point in the history
…ame (#30352)

* [Heartbeat] Add keyword mapping for service.name (#30324)

* [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)

# Conflicts:
#	heartbeat/include/fields.go
#	x-pack/heartbeat/include/fields.go

* update fields.go

* fix changelog and fields

Co-authored-by: Andrew Cholakian <[email protected]>
Co-authored-by: vigneshshanmugam <[email protected]>
  • Loading branch information
3 people authored Feb 15, 2022
1 parent ecfd429 commit 4d2b6e3
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,14 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- 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]
- aws-s3: fix race condition in states used by s3-poller. {issue}30123[30123] {pull}30131[30131]

- 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]

*Heartbeat*

- Add fonts to support more different types of characters for multiple languages. {pull}29861[29861]
- 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 @@ -15081,6 +15082,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 4d2b6e3

Please sign in to comment.