Skip to content

Commit 2223268

Browse files
committed
Update Manifest version, add on_failure into disscet at request.
1 parent a4eff30 commit 2223268

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/apache_tomcat/data_stream/access/elasticsearch/ingest_pipeline/default.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ processors:
3333
if: _tmp.dissect_request != '-'
3434
field: _tmp.dissect_request
3535
pattern: '%{http.request.method} %{url.original} HTTP/%{http.version}'
36+
on_failure:
37+
- append:
38+
field: error.message
39+
value: 'Processor {{{_ingest.on_failure_processor_type}}} with tag fail-{{{_ingest.on_failure_processor_tag}}} in pipeline {{{_ingest.pipeline}}} failed with message: {{{_ingest.on_failure_message}}}'
3640
- grok:
3741
field: _tmp.sourceorusername
3842
tag: 'grok_parse_log_sourceoruser'

packages/apache_tomcat/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: "3.0.2"
22
name: apache_tomcat
33
title: Apache Tomcat
4-
version: "1.8.0"
4+
version: "1.8.1"
55
description: Collect and parse logs and metrics from Apache Tomcat servers with Elastic Agent.
66
categories: ["web", "observability"]
77
type: integration

0 commit comments

Comments
 (0)