Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Updated README.md
  • Loading branch information
Azhinu committed Jun 26, 2020
commit 8468e4a81556ef838ca2af6522b1e9aa78a4d210
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Usage

- Install logstash
- Add `50-filter-postfix.conf` to `/etc/logstash/conf.d` or `pipeline` dir for dockerized Logstash
- Add `51-filter-postfix-aggregate.conf` to `/etc/logstash/conf.d` or `pipeline` dir for dockerized Logstash
- Add `51-filter-postfix-aggregate.conf` to `/etc/logstash/conf.d` or `pipeline` dir for dockerized Logstash (optional)
- Make dir `/etc/logstash/patterns.d`
- Add `postfix.grok` to `/etc/logstash/patterns.d`
- Restart logstash
Expand All @@ -20,6 +20,15 @@ The included Logstash config file requires two input fields to exist in input ev

This event format is supported by the Logstash `syslog` input plugin out of the box, but several other plugins produce input that can be adapted fairly easy to produce these fields too. See [ALTERNATIVE INPUTS](ALTERNATIVE-INPUTS.md) for details.

Aggregation filter
-----

Aggregation filter is used to combine fields from different log lines. For example:

![Alt text](aggregation_example_pic.jpg?raw=true)

In this example filter take 'postfix_from' from postfix/qmgr log line and put to postfix/smtp.

Tests
-----

Expand Down
Binary file added aggregation_example_pic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.