Skip to content
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
5 changes: 5 additions & 0 deletions packages/syslog_router/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.3.1"
changes:
- description: Generate processor tags and normalize error handler.
type: enhancement
link: https://github.com/elastic/integrations/pull/15718
- version: "0.3.0"
changes:
- description: Add support for Cisco IOS. Matches on the Cisco emblem header.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"events": [
{
"@timestamp": "2024-04-23T09:16:40.645Z",
"message": "Oct 10 2018 12:34:56 localhost CiscoASA[999]: %ASA-4-106023: Deny tcp src outside:192.168.19.254/80 dst inside:172.31.98.44/8277 by access-group \"inbound\" [0x0, 0x0]",
"_conf": {
"dataset": "cisco_asa.log"
}
},
{
"@timestamp": "2024-04-23T09:16:40.645Z",
"message": "Custom log"
}
]
"events": [
{
"@timestamp": "2024-04-23T09:16:40.645Z",
"message": "Oct 10 2018 12:34:56 localhost CiscoASA[999]: %ASA-4-106023: Deny tcp src outside:192.168.19.254/80 dst inside:172.31.98.44/8277 by access-group \"inbound\" [0x0, 0x0]",
"_conf": {
"dataset": "cisco_asa.log"
}
},
{
"@timestamp": "2024-04-23T09:16:40.645Z",
"message": "Custom log"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
description: Pipeline for unmatched syslog events.
processors:
- set:
tag: set_ecs_version_135371bc
field: ecs.version
value: 8.16.0

on_failure:
- append:
field: error.message
value: 'Processor {{{_ingest.on_failure_processor_type}}} with tag {{{_ingest.on_failure_processor_tag}}} in pipeline {{{_ingest.pipeline}}} failed with message: {{{_ingest.on_failure_message}}}'
value: >-
Processor '{{{ _ingest.on_failure_processor_type }}}'
{{#_ingest.on_failure_processor_tag}}with tag '{{{ _ingest.on_failure_processor_tag }}}'
{{/_ingest.on_failure_processor_tag}}in pipeline '{{{ _ingest.pipeline }}}'
failed with message '{{{ _ingest.on_failure_message }}}'
- set:
field: event.kind
value: pipeline_error
2 changes: 1 addition & 1 deletion packages/syslog_router/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.2.1
name: syslog_router
title: "Syslog Router"
version: 0.3.0
version: 0.3.1
description: "Route syslog events to integrations with Elastic Agent."
type: integration
categories:
Expand Down