Skip to content

Colocar os logs do access_log para o banco de dados Postgresql // Put access_log logs to a Postgresql database

Notifications You must be signed in to change notification settings

w00fx/access_log-postgresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

access_log-postgresql

Portugues

Colocar os logs do access_log para o banco de dados Postgresql // Put acces_log logs to a Postgresql database

Código que pega os logs do access_log do Apache e joga para um banco de dados. Antes de usar o código, peço para que crie um banco de dados que vai receber os logs.

Requisitos:

Instale o PyGreSQL no seu python3, usando o comando:

pip install pygresql

e está pronto para ser usado.

Windows

Se estiver usando esse codigo no Windows, certifique que os caminhos C:\Program Files\PostgreSQL[build]\ e C:\Program Files\PostgreSQL[build]\bin estejam no PATH.

English

Code that takes the Apache's access_log logs and put in a database. Before using the code, I ask you to create a database that will receive the logs.

Requirements:

Install PyGreSQL in your python3 using the command:

pip install pygresql

and is ready to be used.

Windows

If you using this script on Windows, put C:\Program Files\PostgreSQL[build]\ and C:\Program Files\PostgreSQL[build]\bin on PATH.

About

Colocar os logs do access_log para o banco de dados Postgresql // Put access_log logs to a Postgresql database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages