Skip to main content

Python AWS Custom Log

Project description

python aws custom log

A Python package to log message into aws cloud.

Introduction

A Python package to log message into aws cloud.

Installation

pip3 install pyawslog

Usage

logger = log(region_name='region name', 
          aws_access_key_id='access key',
       aws_secret_access_key='secret key',
        endpoint_url='https://logs.<region_str>.amazonaws.com')

LOG_GROUP='custom group name'
LOG_STREAM='custom stream name'

logger.create_log_group(LOG_GROUP)
logger.create_log_stream(LOG_GROUP, 'aws')
logger.log_message(LOG_GROUP, LOG_STREAM, 'Hello world, log message!')

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

TODO: Write history

Credits

TODO: Write credits

License

TODO: Write license ]]> readme

Contact

Please submit an issue if you encounter a bug and please email any questions or requests to catchmaurya@gmail.com

Project details


Download files

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

Source Distribution

pyawslog-0.1.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

pyawslog-0.1.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pyawslog-0.1.3.tar.gz.

File metadata

  • Download URL: pyawslog-0.1.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyawslog-0.1.3.tar.gz
Algorithm Hash digest
SHA256 98aa237104df36d12bc281a8712413537ce945994d675d3be26c4dfe010f6f38
MD5 57d4efe4b68e2a20e824d917df67d6d2
BLAKE2b-256 eb1c0de5067bd589376ec0886e2a5eb9afd2d4670200b1030d6692f83b20e70d

See more details on using hashes here.

File details

Details for the file pyawslog-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyawslog-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyawslog-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7925aba4491dee475e85c7763808e0b9f07265d3a8cf3f985194fb00239b41d8
MD5 cf0be74e5af6e23eb055fd8c4fac3419
BLAKE2b-256 de037e42ced8734c21d460d29ee7378c329bce158789bed2d2892534723b5c7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page