Skip to content
Merged
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
Update ALTERNATIVE-INPUTS.md
Resolve problem to native log from postfix /var/log/maillog
  • Loading branch information
agentelinux authored Nov 23, 2016
commit 9e4e931667c8481d0c329f2381a05cae700faa30
3 changes: 2 additions & 1 deletion ALTERNATIVE-INPUTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Various other Logstash filters can produce the needed input fields (`program` an

```
grok {
match => { "message" => "%{SYSLOGTIMESTAMP} %{SYSLOGHOST} %{DATA:program}(?:\[%{POSINT}\])?: %{GREEDYDATA}" }
match => { "message" => "%{SYSLOGTIMESTAMP} %{SYSLOGHOST} %{DATA:program}(?:\[%{POSINT}\])?: %{GREEDYDATA:message}" }
overwrite => "message"
}
```