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
Metadata
Release files for coralogix-logger 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| coralogix_logger-2.1.1.tar.gz | 26.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coralogix_logger-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.7 kB
Release files / coralogix_logger-2.1.1.tar.gz
| Download URL | coralogix_logger-2.1.1.tar.gz |
|---|---|
| Size | 26.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd590100b756f3dd5d0fdf6ee48b3afcabf8575941f1e1df2869498c90fbba31
|
|
BLAKE2b-256 checksum How to use checksums |
6e349db9d79c542ca64692f266fb161ddae8aec59dc6ae0d6a1cf1be6ba83a52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / coralogix_logger-2.1.1-py3-none-any.whl
| Download URL | coralogix_logger-2.1.1-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fb2683d4f5327df7e6000a81b60859db26171800b0b7ddcef9fbe682ef7e237
|
|
BLAKE2b-256 checksum How to use checksums |
72345dcfdb1c69712e66cf6326e9283144ffce1211ce315e40fbd42da98d5464
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|