Python script to get the last 5 minutes of accepted traffic logs via the trendmicro email security API and send them to a syslogserver
Script Python para obtener los ultimos 5 minutos de logs de trafico aceptado por medio de la API de trendmicro email security y enviarlos a un servidor de syslog
Crontab
*/5 * * * * /usr/local/bin/python3.9 /home/user/tmes-syslog_0.02.py 2>&1 > /home/user/errores.txt
------------
# API documentation
# Getting Started with Trend Micro Email Security APIs
# https://docs.trendmicro.com/en-us/enterprise/trend-micro-email-security-rest-api-online-help/getting-started-with.aspx
# Obtaining the API Key
# https://docs.trendmicro.com/en-us/enterprise/trend-micro-email-security-rest-api-online-help/getting-started-with/obtaining-the-api-ke.aspx
# List Mail Tracking Logs
# https://docs.trendmicro.com/en-us/enterprise/trend-micro-email-security-rest-api-online-help/supported-apis/logs/list-mail-tracking-l.aspx
...Can track several log files at once, and trigger actions by regexp matching. Actions are defined via modules with a very simple interface to implement. It can monitor syslog as well as gather web server stats.
Cislog is a syslogserver that specifically targets Cisco devices and their implementation of the syslog protocol. It consists of a Django web interface and a syslog listener with a database between them.
Rxlogd is a receive-only syslogserver (collector) that can coexist with sysklogd. It features simplicity, ease of use and a built-in dns cache for high performance.
Deploy in 115+ regions with the modern database for every enterprise.
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.