Skip to main content

Export Sentry issues to CSV for further analysis

Project description

sentry2csv

Code style: black

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>
    • For example, sentry2csv f9u3fdu821ed9j10sj19kjd991010 sparkmeter TopSecretProject13

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. Install the 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.0a2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

sentry2csv-1.0a2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sentry2csv-1.0a2.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

Hashes for sentry2csv-1.0a2.tar.gz
Algorithm Hash digest
SHA256 e1779e8e5ae9dcb53efbbaf765ce6dd612afc32c3222358d2afbf57aaf866202
MD5 58e41a98525daf3b51e63742fd6c01de
BLAKE2b-256 aceeb33c5033bdf913178824f32afc113705360e24219f5e41463f9e59225a75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sentry2csv-1.0a2-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

Hashes for sentry2csv-1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 14a2d319e3012485bdb47333c99470cc903aa80518c77acc47167ca7a366a241
MD5 e556476eccecf88d20d5566c7d4b2650
BLAKE2b-256 7f2890ce65e4d3ea3d7b01d65828d39c02e99f1668242c3aae3e8e827da0897c

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