Skip to content

Get rollbars from Rollbar.com and put them into a Postgres database for analysis

License

Notifications You must be signed in to change notification settings

levkk/scrape-rollbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rollbar scraper

This is a simple script to scrape Rollbars from your project at Rollbar.com and put them into a Postgres DB for querying.

Why

RQL is kind of slow :(

Installation

$ virutalenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Usage

# Set the Rollbar project access token
$ export ROLLBAR_TOKEN=<yoyr project token here>

# Scrape
$ python scrape_rollbar.py <rollbar counter> <number of rollbars to scrape>

# Query
$ psql rollbars -c 'SELECT * FROM rollbars LIMIT 1;'

About

Get rollbars from Rollbar.com and put them into a Postgres database for analysis

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages