A simple Django app to analyse RDS logs using pgbadger.
Project description
Log Analyser
Install pgbadger in Ubuntu
Open your source list file:
sudo nano /etc/apt/sources.list
Modify the file to include “yakkety universe” as a source:
deb http://us.archive.ubuntu.com/ubuntu yakkety universe
Update your system:
sudo apt-get update
Install pgbadger:
sudo apt-get install pgbadger
Quick start
Add apps from “log_analyser” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'log_analyser', ]
Include the log_analyser URLconf in your project urls.py like this:
url(r'', include('log_analyser.urls')),
“log_analyser” needs you to add a few constants to your settings:
AWS_REGION = "aws-region" BUCKET_LOG_ANALYSER = 'bucket-name' RDS_DB_INSTANCE_IDENTIFIER = 'rds-db-instance-identifier' AWS_ACCESS_KEY_ID = "aws-access-key" AWS_SECRET_ACCESS_KEY = "aws-secret-access-key"
Run python manage.py migrate to create the log_analyser models.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-log-analyser-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d52b959e0058da3fa401e271fa877a535e1a4625b7c29c01d914bc7520f30a60 |
|
MD5 | 233c91ae357f2bd9852a9589775fa35d |
|
BLAKE2b-256 | 78c591fe4fae5f85b22b146672be1c99f73d048b06e995d64f2efd486eb22926 |