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-1', 'rds-db-instance-identifier-2' ...] 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.
Release files for django-log-analyser 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-log-analyser-0.2.1.tar.gz | 7.2 kB | Details |
Release files / django-log-analyser-0.2.1.tar.gz
| Download URL | django-log-analyser-0.2.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08805bbd5fa8621ed64510c4bbdf62bee56c6ec5e304c2f6099e5d10f879af4b
|
|
BLAKE2b-256 checksum How to use checksums |
40b01c602e1be9f8d5ffb91a1764685dd2490e263da69b16c1326698705ddab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |