input {
imap {
host => "outlook.office365.com"
user => "$USER"
password => "$PASSWORD"
port => $PORT
folder => "Inbox"
}
}
Currently I'm using username/password way to pulling mails from mailbox per the documentation. Just wanna ask dose Logstash support using tokens to access Outlook?