Skip to content

Commit

Permalink
Include plugin.id in the plain text log format (#36727)
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan L Smith <[email protected]>
  • Loading branch information
lucabelluccini and smith authored Apr 5, 2024
1 parent a455d05 commit 65ca2de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions filebeat/module/logstash/log/ingest/pipeline-plaintext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ processors:
(.|
)*
patterns:
- \[%{TIMESTAMP_ISO8601:logstash.log.timestamp}\]\[%{LOGSTASH_LOGLEVEL:log.level}\s?\]\[%{LOGSTASH_CLASS_MODULE:logstash.log.module}\s*\]\[%{NOTSPACE:logstash.log.pipeline_id}\]\[%{NOTSPACE:logstash.log.plugin_id}\]
%{GREEDYMULTILINE:message}
- \[%{TIMESTAMP_ISO8601:logstash.log.timestamp}\]\[%{LOGSTASH_LOGLEVEL:log.level}\s?\]\[%{LOGSTASH_CLASS_MODULE:logstash.log.module}\s*\]\[%{NOTSPACE:logstash.log.pipeline_id}\]
%{GREEDYMULTILINE:message}
- \[%{TIMESTAMP_ISO8601:logstash.log.timestamp}\]\[%{LOGSTASH_LOGLEVEL:log.level}\s?\]\[%{LOGSTASH_CLASS_MODULE:logstash.log.module}\s*\]
Expand Down

0 comments on commit 65ca2de

Please sign in to comment.