Skip to main content

Export Sentry issues to CSV for further analysis

Project description

sentry2csv

Requires Python 3.7+

Dump Sentry issues to CSV for further analysis.

Use

  1. Install the package: pip install sentry2csv
  2. Get a Sentry API Token from https://sentry.io/settings/account/api/auth-tokens/
  3. Run the exporter: sentry2csv <API_TOKEN> <SENTRY_ORG> <SENTRY_PROJECT>

This also accepts an optional --enrich flag. Enrichments augment issues with data from the latest event. An enrichment is in the form of CSV Field Name=dotted.sentry.path, and multiple enrichments are comma-separated.

Development

  1. Clone this repository
  2. Create a virtualenv with Python 3.7 or greater
    • e.g., mkvirtualenv -p $(which python3.7) sentry2csv
  3. From the repository root directory, install the dev package in editable mode: pip install -e ".[dev]"
  4. Hack away!

Project details


Download files

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

Files for sentry2csv, version 1.0a1
Filename, size File type Python version Upload date Hashes
Filename, size sentry2csv-1.0a1-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size sentry2csv-1.0a1.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page