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.

Source Distribution

sentry2csv-1.0a1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

sentry2csv-1.0a1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file sentry2csv-1.0a1.tar.gz.

File metadata

  • Download URL: sentry2csv-1.0a1.tar.gz
  • Upload date:
  • Size: 3.7 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.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for sentry2csv-1.0a1.tar.gz
Algorithm Hash digest
SHA256 e4f19d8f9df03a3a32dcab89c02c8e0d98842c7a7677825f947d8447667bb01c
MD5 21e198894cfab7ab129dae188a1589cd
BLAKE2b-256 9778e1b7d38d7802970f996ac0cc49f45ce5286592384cd5614ffcf458cc48ee

See more details on using hashes here.

File details

Details for the file sentry2csv-1.0a1-py3-none-any.whl.

File metadata

  • Download URL: sentry2csv-1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for sentry2csv-1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 53d5c931ead2ccdd4cc50c91d9b43a9f18d702e2780ebb9b928eec3df3287da2
MD5 f19804f0ebdc89fc83ad0200b71c0d43
BLAKE2b-256 1e5fe756dc56f18e8e8fd8ba24eb0be995e6b3198253ba7306f2e39b07406573

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page