GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - meigea/modseclog2sql: The log that modsecuirty produced that translate its txt to sql and save

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
django-app
django-app
 
 
fatal_v11
fatal_v11
 
 
opt
opt
 
 
syslog
syslog
 
 
utils
utils
 
 
readme.md
readme.md
 
 
test_1115.py
test_1115.py
 
 

Repository files navigation

Nginx-modseurity 日志处理

日志处理的核心文件位置

主要参考这个即可, syslog是之前的淘汰版本

  • 文本处理

如果要用txt-to-Mysql

  • 工具在django-app的模板中

nginx-accesslog 格式

log_format  custom '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" '
'"$http_x_forwarded_for" $request_id ';

需要的工具包

  • PyMySQL==0.9.2
  • pymongo==3.6.1
  • ua-parser==0.8.0

About

The log that modsecuirty produced that translate its txt to sql and save

Topics

logstashmodsecuritypython3

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.