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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e62fa4eec11d0edee9ffcfec75cb934d9c721408b029d944abd40a82871029a0
|
|
| MD5 |
0733b1201b7a42c99b85d7949260f881
|
|
| BLAKE2b-256 |
bde2abc8cdeade33b0364fb15d148ab44079ec0cd18adf035c870253c02fc893
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa168b2e1c83196a74488cbe16777c1316b4a3915c8dd0e6cba80ca354f6e79d
|
|
| MD5 |
9f5dd37356e3c99dec3890a5c963eff0
|
|
| BLAKE2b-256 |
49251b5265e0d0a3bc7899c185424dd68f7bee23f1d448f45397aead24930ea3
|