Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imbi_plugin_logzio-2.13.3.tar.gz (111.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imbi_plugin_logzio-2.13.3-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file imbi_plugin_logzio-2.13.3.tar.gz.

File metadata

  • Download URL: imbi_plugin_logzio-2.13.3.tar.gz
  • Upload date:
  • Size: 111.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for imbi_plugin_logzio-2.13.3.tar.gz
Algorithm Hash digest
SHA256 933166e8b247daea5af6e1bbed0016fbab5cd14294722c6edc888692d14bc798
MD5 27824c9167d162db5750e1810072a508
BLAKE2b-256 1bd4d864eaf3f9c0594f2e7732f06d0cdebdfb1d700c3d9d609c0479330c97e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for imbi_plugin_logzio-2.13.3.tar.gz:

Publisher: publish.yml on AWeber-Imbi/imbi-plugin-logzio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imbi_plugin_logzio-2.13.3-py3-none-any.whl.

File metadata

File hashes

Hashes for imbi_plugin_logzio-2.13.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6931d8ae631b5172d58e90d16370f80295111ef666871f6582e3c9ef4fb2aef4
MD5 e6ca3f4ad01628359767be7415e1945f
BLAKE2b-256 a7eed75fe3b952faa37cce1d1b10184ea2d2170733eae6e5a53915dac578905b

See more details on using hashes here.

Provenance

The following attestation bundles were made for imbi_plugin_logzio-2.13.3-py3-none-any.whl:

Publisher: publish.yml on AWeber-Imbi/imbi-plugin-logzio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page