A quick script to fetch exceptions from a table located on a CosmosDB Table.
pipenv sync
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