Logz.io logs plugin for Imbi
Project description
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
Assign the plugin to a service application in Imbi. The following options and credentials are available.
Options
| Name | Label | Default | Description |
|---|---|---|---|
region |
Region | us |
Logz.io account region. One of us, eu, uk, au, ca. |
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. |
timeout_seconds |
Request Timeout | 15 |
Per-request timeout in seconds. |
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
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 imbi_plugin_logzio-1.0.0.tar.gz.
File metadata
- Download URL: imbi_plugin_logzio-1.0.0.tar.gz
- Upload date:
- Size: 109.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02946fbc0023c399519ce2457fa873268a943afcd5a0c5af9951323389449303
|
|
| MD5 |
47a953b1280b5205ca4c88a6c2238f56
|
|
| BLAKE2b-256 |
e7e2d02c669826ab86b1e40022ec98a3093ea3b03b5a4fa2228db1b98577cd1a
|
Provenance
The following attestation bundles were made for imbi_plugin_logzio-1.0.0.tar.gz:
Publisher:
publish.yml on AWeber-Imbi/imbi-plugin-logzio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imbi_plugin_logzio-1.0.0.tar.gz -
Subject digest:
02946fbc0023c399519ce2457fa873268a943afcd5a0c5af9951323389449303 - Sigstore transparency entry: 1500883923
- Sigstore integration time:
-
Permalink:
AWeber-Imbi/imbi-plugin-logzio@6cac282b8563201badeadefc0943dd88374179a6 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/AWeber-Imbi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6cac282b8563201badeadefc0943dd88374179a6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file imbi_plugin_logzio-1.0.0-py3-none-any.whl.
File metadata
- Download URL: imbi_plugin_logzio-1.0.0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e5ef7f2faac7bdc407d63be719dec63a4e684d60feff1fc09f8a60fae120bd1
|
|
| MD5 |
17a252692845564456ca96c585aae8e6
|
|
| BLAKE2b-256 |
d8d63d486ebb188eb277e522e9b9dcb6974e0f5dfedab8d1eb9718a0868d40fc
|
Provenance
The following attestation bundles were made for imbi_plugin_logzio-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on AWeber-Imbi/imbi-plugin-logzio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imbi_plugin_logzio-1.0.0-py3-none-any.whl -
Subject digest:
6e5ef7f2faac7bdc407d63be719dec63a4e684d60feff1fc09f8a60fae120bd1 - Sigstore transparency entry: 1500883926
- Sigstore integration time:
-
Permalink:
AWeber-Imbi/imbi-plugin-logzio@6cac282b8563201badeadefc0943dd88374179a6 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/AWeber-Imbi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6cac282b8563201badeadefc0943dd88374179a6 -
Trigger Event:
release
-
Statement type: