Export Sentry issues to CSV for further analysis
Project description
sentry2csv
Dump Sentry issues to CSV for further analysis.
Use
- Install the package:
pip install sentry2csv
- Get a Sentry API Token from https://sentry.io/settings/account/api/auth-tokens/
- Run the exporter:
sentry2csv <API_TOKEN> <SENTRY_ORG> <SENTRY_PROJECT>
- For example,
sentry2csv f9u3fdu821ed9j10sj19kjd991010 sparkmeter TopSecretProject13
- For example,
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
- Clone this repository
- Create a virtualenv with Python 3.7 or greater
- e.g.,
mkvirtualenv -p $(which python3.7) sentry2csv
- e.g.,
- Install the package in editable mode:
pip install -e .[dev]
- Hack away!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sentry2csv-1.0.0.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file sentry2csv-1.0.0.tar.gz
.
File metadata
- Download URL: sentry2csv-1.0.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 233cd6f3784eb879bfa3f2e48b9c6219b0006e1d47d8923f72f988ce3898e2ee |
|
MD5 | 53be4c1dd98a4554119e4f77bb7acf84 |
|
BLAKE2b-256 | a9caf6718d784b18e7fba302cb806ea4c834309eb00694446b3ecee0ca16e7b0 |
File details
Details for the file sentry2csv-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: sentry2csv-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b85dac8611f9105bd7a000d4283ee916154f9a385eaf995875450cc1232b9024 |
|
MD5 | aaccbbebca1de0457b53689fdb153bae |
|
BLAKE2b-256 | b67f53456054f250221a4cd63d47a51c92192da34c9a0e8e29314b693f1f9c78 |