Skip to content

Commit

Permalink
7.0: Remove IP fields from default_field in Elasticsearch template (#…
Browse files Browse the repository at this point in the history
…11400)

Removes IP fields from the `default_field` array in the generated Elasticsearch template.

Further details in the 6.7 PR: #11399
  • Loading branch information
Christoph Wurm authored and ruflin committed Mar 25, 2019
1 parent f61f333 commit 571422a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ https://github.com/elastic/beats/compare/v7.0.0-beta1...master[Check the HEAD di
- Using an environment variable for the password when enrolling a beat will now raise an error if the variable doesn't exist. {pull}10936[10936]
- Cancelling enrollment of a beat will not enroll the beat. {issue}10150[10150]
- Allow to configure Kafka fetching strategy for the topic metadata. {pull}10682[10682]
- Remove IP fields from default_field in Elasticsearch template. {pull}11400[11400]

*Auditbeat*

Expand Down
2 changes: 1 addition & 1 deletion libbeat/template/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (p *Processor) Process(fields common.Fields, path string, output common.Map
}

switch field.Type {
case "", "keyword", "text", "ip":
case "", "keyword", "text":
addToDefaultFields(&field)
}

Expand Down

0 comments on commit 571422a

Please sign in to comment.