Skip to main content
Send logs to Axiom. Axiom indexes every field of an event without a schema, so the nested structure Logixlysia sends — request.method, context.requestId, your custom context — is queryable as-is with APL.

Setup

  1. Create a dataset in the Axiom console.
  2. Generate an API token with ingest permission for that dataset.
  3. Set the environment variables:
  1. Wire the transport:
  1. Trigger a request and query the dataset in Axiom.

Environment Variables

Options

Options passed to createAxiomTransport() override environment variables:
Plus the shared batching options: maxBatchSize, flushIntervalMs, timeout, retries — see the overview.

Payload

Each log becomes one event in POST /v1/datasets/{dataset}/ingest:
Query it in Axiom with APL, e.g. ['your-dataset'] | where level == "ERROR" and durationMs > 1000.

Troubleshooting

  • 401 — the token is invalid or expired; generate a new one in Axiom settings.
  • 403 with a personal access token — set AXIOM_ORG_ID (personal tokens are not scoped to an organization).
  • Nothing arrives — logs flush in batches (2 s by default); check that the process lived long enough, or call flush() before exit.