Metadata-Version: 2.1
Name: opensearch-log
Version: 1.3.1
Summary: A Python logging handler for efficient and reliable direct log transmission to OpenSearch, CloudWatch with additional fields.
Project-URL: Homepage, https://andgineer.github.io/opensearch-log/
Project-URL: Documentation, https://andgineer.github.io/opensearch-log/
Author-email: Andrey Sorokin <andrey@sorokin.engineer>
License: Copyright (c) 2021 Andrey Sorokin <andrey@sorokin.engineer>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE.txt
Keywords: aws,cloudwatch,elasticsearch,kibana,log,log-handler,logging,opensearch
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Requires-Dist: python-json-logger
Provides-Extra: cloudwatch
Requires-Dist: boto3; extra == 'cloudwatch'
Provides-Extra: opensearch
Requires-Dist: boto3; extra == 'opensearch'
Requires-Dist: opensearch-py; extra == 'opensearch'
Description-Content-Type: text/markdown

[![Build Status](https://github.com/andgineer/opensearch-log/workflows/CI/badge.svg)](https://github.com/andgineer/opensearch-log/actions)
[![Coverage](https://raw.githubusercontent.com/andgineer/opensearch-log/python-coverage-comment-action-data/badge.svg)](https://htmlpreview.github.io/?https://github.com/andgineer/opensearch-log/blob/python-coverage-comment-action-data/htmlcov/index.html)
# opensearch-log

opensearch-log is a Python logging handler for direct and efficient log transmission to
OpenSearch or AWS CloudWatch.

It can also be used for local JSON logging to stdout.

With context manager or function decorator you can add additional fields to log messages.

# Documentation

[opensearch-log](https://andgineer.github.io/opensearch-log/)

# Developers

Do not forget to run `. ./activate.sh`.

# Scripts
    make help

## Coverage report
* [Codecov](https://app.codecov.io/gh/andgineer/opensearch-log/tree/main/src%2Fopensearch_log)
* [Coveralls](https://coveralls.io/github/andgineer/opensearch-log)
