An open API service indexing awesome lists of open source software.

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

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
```