Skip to content

Commit

Permalink
Include plugin.id in the plain text log format (elastic#36727)
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
  • Loading branch information
2 people authored and zeynepyz committed Apr 7, 2024
1 parent 88a83d5 commit e23fe97
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 e23fe97

Please sign in to comment.