Created
August 20, 2018 05:30
-
-
Save peerapach/1ac0ce911901614ca67bbc3f3c4275c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
beats { | |
port => "5044" | |
} | |
} | |
filter { | |
if [message] =~ /^type\,/ { | |
drop { } | |
} | |
csv { | |
separator => "," | |
columns => ["type","timeLogged","timeQueued","orig","rcpt","orcpt","dsnAction","dsnStatus","dsnDiag","dsnMta","bounceCat","srcType","srcMta","dlvType","dlvSourceIp","dlvDestinationIp","dlvEsmtpAvailable","dlvSize","vmta","jobId","envId,queue","vmtaPool","header_Message-Id"] | |
} | |
geoip { | |
source => "dlvDestinationIp" | |
} | |
date { | |
match => [ "timeLogged", "yyyy-MM-dd HH:mm:ssZ" ] | |
target => "@timestamp" | |
} | |
} | |
output { | |
elasticsearch { | |
hosts => "localhost:9200" | |
manage_template => false | |
index => "powermta-%{+YYYY.MM.dd}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lastest powermta with lifetime license key available.
telegram: salimrezabd
telegram: salimrezabd1