https://github.com/madetech/azure-log-fetcher
simple log fetcher for one of our projects
https://github.com/madetech/azure-log-fetcher
Last synced: 29 days ago
JSON representation
simple log fetcher for one of our projects
- Host: GitHub
- URL: https://github.com/madetech/azure-log-fetcher
- Owner: madetech
- Created: 2019-01-16T16:04:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:34:40.000Z (over 3 years ago)
- Last Synced: 2025-01-25T14:12:01.198Z (over 1 year ago)
- Language: Python
- Size: 24.4 KB
- Stars: 0
- Watchers: 40
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Exception Fetcher
A quick script to fetch exceptions from a table located on a CosmosDB Table.
## Installation
```sh
pipenv sync
```
## Usage
Populate your environment:
```sh
echo "export COSMOSDB_ACCOUNT=''" > .env
echo "export COSMOSDB_KEY=''" >> .env
```
and Run:
```sh
LOG_ENV='dev' pipenv run ./scrape.py
```
You can also set the table name explicitly
```sh
export LOG_TABLE='devinformationlogs'
pipenv run ./scrape.py
```