imbi-plugin-logzio
Logz.io provider for the Imbi project logs tab, surfacing relevant logs without requiring search knowledge.
Installation
pip install imbi-plugin-logzio
Configuration
Create a Logz.io Integration in Imbi and enable its Logs capability. Connection settings and the API token live on the Integration; the query-shaping settings are scoped to the Logs capability.
Integration Options
| Name | Label | Default | Description |
|---|---|---|---|
region |
Region | us |
Logz.io account region. One of us, eu, uk, au, ca. |
timeout_seconds |
Request Timeout | 15 |
Per-request timeout in seconds. |
Logs Capability Options
| Name | Label | Default | Description |
|---|---|---|---|
base_query |
Base Query Template | — | Elasticsearch query_string applied as a must clause. Supports ${project_slug}, ${org_slug}, ${environment}, ${project_id}. |
timestamp_field |
Timestamp Field | @timestamp |
Source field containing the log timestamp. |
message_field |
Message Field | message |
Source field containing the log message. |
level_field |
Level Field | level |
Source field containing the log severity level. |
environment_field |
Environment Field | — | Log field used to filter by environment. Leave blank to disable automatic environment filtering. |
default_environments |
Default Environments | — | Comma-separated environments pre-selected in the UI. |
Region → Hostname
| Region | API Host |
|---|---|
us |
api.logz.io |
eu |
api-eu.logz.io |
uk |
api-uk.logz.io |
au |
api-au.logz.io |
ca |
api-ca.logz.io |
Credentials
| Name | Description |
|---|---|
api_token |
Logz.io API token with search privileges (X-API-TOKEN header). |
Base Query Templates
Use ${variable} placeholders to scope log searches to a project automatically:
kubernetes.namespace_name:${project_slug} AND env:${environment}
Variables substituted at search time: project_slug, org_slug, environment, project_id. Unknown variables are rejected at configuration time.
Filter Operators
| Operator | Translation |
|---|---|
eq |
Elasticsearch term |
ne |
Elasticsearch bool.must_not.term |
contains |
match_phrase on the configured message_field; non-leading wildcard (value*) on other fields |
starts_with |
Elasticsearch prefix |
regex |
Elasticsearch regexp (patterns starting with .*, *, or ? are rejected) |
Development
# Clone alongside imbi-common
git clone https://github.com/AWeber-Imbi/imbi-plugin-logzio
git clone https://github.com/AWeber-Imbi/imbi-common
cd imbi-plugin-logzio
UV_CONFIG_FILE=/dev/null uv sync
UV_CONFIG_FILE=/dev/null uv run pytest tests/
UV_CONFIG_FILE=/dev/null uv run coverage run -m pytest tests/ && uv run coverage report
Release files for imbi-plugin-logzio 2.27.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| imbi_plugin_logzio-2.27.0.tar.gz | 18.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| imbi_plugin_logzio-2.27.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.9 kB
Release files / imbi_plugin_logzio-2.27.0.tar.gz
| Download URL | imbi_plugin_logzio-2.27.0.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
479b0c582372b51c6fd75397b6441e45412ac6945af05a462991eb2a948e0c0f
|
|
BLAKE2b-256 checksum How to use checksums |
9814a78ab1cba933f877e125445f0ba7b59b21d7104187f36c8b3edaf1a6e2ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency logRelease files / imbi_plugin_logzio-2.27.0-py3-none-any.whl
| Download URL | imbi_plugin_logzio-2.27.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2848893f6a7a5d7659613bd60572b541f2e52ef1106e223cbdb4e3fb2711785c
|
|
BLAKE2b-256 checksum How to use checksums |
a109b2705e3b5a17ac9122e965bc304b8d16f4453f324649593b006a86e4eec3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 20, 2026.
Transparency log