Metadata-Version: 2.1
Name: ralogs
Version: 1.3
Summary: UNKNOWN
Home-page: https://github.com/barell/ralogs
Author: UNKNOWN
Author-email: UNKNOWN
License: MIT
Platform: UNKNOWN

# ralogs

ralogs is a simple python script which connects to Rancher and stream logs 
directly to your terminal from multiple containers within a single stack.

## Requirements

ralogs requires Python 3.5 or higher and pip3 to be installed on your machine.

## Changelog

1.3
- fix stack not found issue by searching API using stack name

1.2
- moved required dependencies into setup.py to avoid strict version requirements

1.1 
- Added third parameter to specify a service
- Added container names and IDs to the logs output

1.0 
- Initial release

## Installation

```
$ pip3 install ralogs
```

## Configuration

Check if installation was successful:
```
$ ralogs -v
```
It should display version info. Now open and edit configs:
```
$ subl $HOME/.ralogs
```

- rancher_url - where you can access Rancher (eg. https://rancher.example.com)
- api_key and api_secret - this you can create in Rancher GUI, go to API -> Keys from top menu and add new Account API Key 

## Usage:

```
$ ralogs environment stack
```

If the stack has more than one service, you can select it by name by adding third argument:

```
$ ralogs environment stack service
```

