Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.
Merged
3,325 changes: 3,325 additions & 0 deletions packages/barracuda/0.2.0/dataset/spamfirewall/agent/stream/stream.yml.hbs

Large diffs are not rendered by default.

3,322 changes: 3,322 additions & 0 deletions packages/barracuda/0.2.0/dataset/spamfirewall/agent/stream/tcp.yml.hbs

Large diffs are not rendered by default.

3,322 changes: 3,322 additions & 0 deletions packages/barracuda/0.2.0/dataset/spamfirewall/agent/stream/udp.yml.hbs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
description: Pipeline for Barracuda Spam Firewall

processors:
# ECS event.ingested
- set:
field: event.ingested
value: '{{_ingest.timestamp}}'
# User agent
- user_agent:
field: user_agent.original
ignore_missing: true
# IP Geolocation Lookup
- geoip:
field: source.ip
target_field: source.geo
ignore_missing: true
- geoip:
field: destination.ip
target_field: destination.geo
ignore_missing: true

# IP Autonomous System (AS) Lookup
- geoip:
database_file: GeoLite2-ASN.mmdb
field: source.ip
target_field: source.as
properties:
- asn
- organization_name
ignore_missing: true
- geoip:
database_file: GeoLite2-ASN.mmdb
field: destination.ip
target_field: destination.as
properties:
- asn
- organization_name
ignore_missing: true
- rename:
field: source.as.asn
target_field: source.as.number
ignore_missing: true
- rename:
field: source.as.organization_name
target_field: source.as.organization.name
ignore_missing: true
- rename:
field: destination.as.asn
target_field: destination.as.number
ignore_missing: true
- rename:
field: destination.as.organization_name
target_field: destination.as.organization.name
ignore_missing: true
on_failure:
- append:
field: error.message
value: "{{ _ingest.on_failure_message }}"
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- name: data_stream.type
type: constant_keyword
description: Datastream type.
- name: data_stream.dataset
type: constant_keyword
description: Datastream dataset.
- name: data_stream.namespace
type: constant_keyword
description: Datastream namespace.
- name: "@timestamp"
type: date
description: >
Event timestamp.
Loading