Skip to content
simple log fetcher for one of our projects
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Pipfile
Pipfile.lock
README.md
scrape.py

README.md

Azure Exception Fetcher

A quick script to fetch exceptions from a table located on a CosmosDB Table.

Installation

pipenv sync

Usage

Populate your environment:

echo "export COSMOSDB_ACCOUNT='<Your storage name>'" > .env
echo "export COSMOSDB_KEY='<Your storage key>'" >> .env

and Run:

LOG_ENV='dev' pipenv run ./scrape.py

You can also set the table name explicitly

export LOG_TABLE='devinformationlogs'
pipenv run ./scrape.py
You can’t perform that action at this time.