Skip to main content

No project description provided

Project description

# 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 and pip to be installed on your machine. It has been tested only with Python 3.5.

## Changelog

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

1.0 - Initial release

## Installation

` $ pip 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.
  • 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 `

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ralogs-1.1-py3-none-any.whl (3.4 kB) Copy SHA256 hash SHA256 Wheel py3
ralogs-1.1.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page