Coralogix Python SDK
Project description
Coralogix Python SDK
This package provides logging suites integrated with Coralogix logs analytics platform. To see how to use it, please read Coralogix Python SDK Docs.
Region Selection
The SDK requires a Coralogix region to be specified. You can specify the region in two ways:
Environment Variable: Set the CORALOGIX_REGION environment variable to one of the supported regions.
Code Parameter: Pass the region parameter when initializing the logger.
Note: The region is mandatory. If no region is provided (neither as a parameter nor via environment variable), the SDK will raise a ValueError.
Supported regions: - AP1 - Mumbai (AWS: ap-south-1) - AP2 - Singapore (AWS: ap-southeast-1) - AP3 - Jakarta (AWS: ap-southeast-3) - EU1 - Ireland (AWS: eu-west-1) - EU2 - Stockholm (AWS: eu-north-1) - US1 - Ohio (AWS: us-east-2) - US2 - N. Virginia (AWS: us-east-1)
Example usage:
from coralogix.handlers import CoralogixLogger
# Using region parameter
logger = CoralogixLogger(
private_key="YOUR_PRIVATE_KEY",
app_name="MyApp",
subsystem="backend",
region="EU1"
)
# Or set via environment variable
# export CORALOGIX_REGION=EU1
Project details
Release history Release notifications | RSS feed
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 coralogix_logger-2.1.1.tar.gz.
File metadata
- Download URL: coralogix_logger-2.1.1.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd590100b756f3dd5d0fdf6ee48b3afcabf8575941f1e1df2869498c90fbba31
|
|
| MD5 |
94f7bfecabdfc28c7a02a5f959ad6e60
|
|
| BLAKE2b-256 |
6e349db9d79c542ca64692f266fb161ddae8aec59dc6ae0d6a1cf1be6ba83a52
|
File details
Details for the file coralogix_logger-2.1.1-py3-none-any.whl.
File metadata
- Download URL: coralogix_logger-2.1.1-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fb2683d4f5327df7e6000a81b60859db26171800b0b7ddcef9fbe682ef7e237
|
|
| MD5 |
3ee78bc1a66d342714526c04ff2f792a
|
|
| BLAKE2b-256 |
72345dcfdb1c69712e66cf6326e9283144ffce1211ce315e40fbd42da98d5464
|