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

from pyawslog import log
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.5.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyawslog-0.1.5-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyawslog-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 e62fa4eec11d0edee9ffcfec75cb934d9c721408b029d944abd40a82871029a0
MD5 0733b1201b7a42c99b85d7949260f881
BLAKE2b-256 bde2abc8cdeade33b0364fb15d148ab44079ec0cd18adf035c870253c02fc893

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyawslog-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fa168b2e1c83196a74488cbe16777c1316b4a3915c8dd0e6cba80ca354f6e79d
MD5 9f5dd37356e3c99dec3890a5c963eff0
BLAKE2b-256 49251b5265e0d0a3bc7899c185424dd68f7bee23f1d448f45397aead24930ea3

See more details on using hashes here.

Supported by

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