Apache real-time log analysis tool: ARTLAS usage details

Source: Internet
Author: User
Tags syslog apache access log git clone

Supported output methods

Zabbix Version 2.4 and 3.0

SySlog

SIEM

Telegram

Supported web servers

Apache

Apache vHost

Nginx

Nginx vHost

Install

Clone project

Git clone https://github.com/mthbernardes/ARTLAS.git
Install dependency Library

Pip install-r dependencies.txt

Python version 2.7.11 (lastet)
Install screen

Sudo apt-get install screen # Debian Like
Sbopkg-I screen # Slackware 14 .*
Yum install screen # CentOS/RHEL
Dnf install screeen # Fedora
Configuration

Configure through The etc/artlas. conf file

TELEGRAM configuration

[Telegram]
Api = your Token API
Group_id = Group/User ID of the notification recipient
Enable = True indicates that notifications are sent, and False indicates that notifications are not sent.
ZABBIX configuration

[Zabbix]
Server_name = server host name in zabbix
Agentd_config = Zabbix agent configuration file
Enable_advantage_keys = True or False. Whether to use an advanced trigger
Events = true enabled, false disabled trigger notification
Enable = true indicates enabled, false indicates disabled
SYSLOG/SIEM configuration

[CEF_Syslog]
Server_name = IP address or host name of the SySlog/SIEM server
Enable = True or False, whether to enable
General configuration

[General]
Apache_log = full path of apache access. log
Apache_mask = mask that identifies the region in the apache access log
Vhost_enable = True or False, whether to enable vhosts
Rules = etc/default_filter.json, which is the OWASP filter file [do not modify]
Run

Screen-S artlas
Python artlas. py
CTRL + A + D

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.