Skip to content

Commit

Permalink
[7.x](backport #28452) [Heartbeat] Update step name field to use keyw…
Browse files Browse the repository at this point in the history
…ord and text (#28474)

* [Heartbeat] Update step name field to use keyword and text (#28452)

* Update step name field to use keyword and text.

* Add CHANGELOG entry.

(cherry picked from commit 539edc8)

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

* Update generated files for backport.

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
  • Loading branch information
mergify[bot] and justinkambic authored Oct 18, 2021
1 parent fec84a4 commit 2414eaf
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add mime type detection for http responses. {pull}22976[22976]
- Support JSON expressions / validation of JSON arrays. {pull}28073[28073]
- Experimental 'run once' mode. {pull}25972[25972]
- Add `keyword` multi-field mapping for `synthetics.step.name`. {pull}28452[28452]

*Journalbeat*

Expand Down
3 changes: 3 additions & 0 deletions heartbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@
fields:
- name: name
type: text
multi_fields:
- name: keyword
type: keyword
- name: index
type: integer
- name: status
Expand Down
7 changes: 7 additions & 0 deletions heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -15221,6 +15221,13 @@ type: text
--
*`synthetics.step.name.keyword`*::
+
--
type: keyword
--
*`synthetics.step.index`*::
+
--
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 2414eaf

Please sign in to comment.