This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple Django app to analyse RDS logs using pgbadger.

Project Description

Log Analyser

Install django-log-analyser

Via pip:

pip install django-log-analyser

Install pgbadger in Ubuntu

  1. Open your source list file:

    sudo nano /etc/apt/sources.list
    
  2. Modify the file to include “yakkety universe” as a source:

    deb http://us.archive.ubuntu.com/ubuntu yakkety universe
    
  3. Update your system:

    sudo apt-get update
    
  4. Install pgbadger:

    sudo apt-get install pgbadger
    

Quick start

  1. Add apps from “log_analyser” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'log_analyser',
    ]
    
  2. Include the log_analyser URLconf in your project urls.py like this:

    url(r'', include('log_analyser.urls')),
    
  3. “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-1', 'rds-db-instance-identifier-2' ...]
    RDS_TEMP_LOG_FILE_LOCATION = "/var/tmp/"
    AWS_ACCESS_KEY_ID = "aws-access-key"
    AWS_SECRET_ACCESS_KEY = "aws-secret-access-key"
    
  4. Run python manage.py migrate to create the log_analyser models.

Release History

Release History

This version
History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.3

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-log-analyser-0.2.5.tar.gz (7.5 kB) Copy SHA256 Checksum SHA256 Source Dec 20, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting