Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Filebeat] kafka.log fileset change type of field class to keyword #10398

Merged
merged 3 commits into from
Feb 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Several text fields in the Elasticsearch module are now indexed as `keyword` fields with `text` multi-fields (ECS). {pull}10414[10414]
- Move dissect pattern for traefik.access fileset from Filbeat to Elasticsearch. {pull}10442[10442]
- The `elasticsearch/deprecation` fileset now indexes the `component` field under `elasticsearch` instead of `elasticsearch.server`. {pull}10445[10445]
- Remove field `kafka.log.trace.full` from kafka.log fielset. {pull}10398[10398]
- Change field `kafka.log.class` for kafka.log fileset from text to keyword. {pull}10398[10398]

*Heartbeat*

Expand Down
12 changes: 1 addition & 11 deletions filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6442,7 +6442,7 @@ Component the log is coming from.
*`kafka.log.class`*::
+
--
type: text
type: keyword

Java class the log is coming from.

Expand Down Expand Up @@ -6474,16 +6474,6 @@ type: text
Message part of the trace.


--

*`kafka.log.trace.full`*::
+
--
type: text

The full trace in the log line.


--

[[exported-fields-kibana]]
Expand Down
2 changes: 1 addition & 1 deletion filebeat/module/kafka/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions filebeat/module/kafka/log/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
description: >
Component the log is coming from.
- name: class
type: text
type: keyword
description: >
Java class the log is coming from.
- name: trace
Expand All @@ -33,7 +33,3 @@
type: text
description: >
Message part of the trace.
- name: full
type: text
description: >
The full trace in the log line.
6 changes: 6 additions & 0 deletions filebeat/module/kafka/log/ingest/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
]
}
},
{
"remove": {
"field": "kafka.log.trace.full",
"ignore_missing": true
}
},
{
"rename": {
"field": "@timestamp",
Expand Down