Skip to content

Instantly share code, notes, and snippets.

@peerapach
Created August 20, 2018 05:30
Show Gist options
  • Save peerapach/1ac0ce911901614ca67bbc3f3c4275c9 to your computer and use it in GitHub Desktop.
Save peerapach/1ac0ce911901614ca67bbc3f3c4275c9 to your computer and use it in GitHub Desktop.
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}"
}
}
@skype-salimrezabd04
Copy link

lastest powermta with lifetime license key available.
telegram: salimrezabd
telegram: salimrezabd1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment