Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
axiom-node / 0.10.0

axiom-node 0.10.0

Install from the command line:
Learn more about npm packages
$ npm install @axiomhq/axiom-node@0.10.0
Install via package.json:
"@axiomhq/axiom-node": "0.10.0"

About this version

axiom-node: The official NodeJS bindings for the Axiom API axiom-node: The official NodeJS bindings for the Axiom API

Workflow Latest Release License

Axiom unlocks observability at any scale.

  • Ingest with ease, store without limits: Axiom’s next-generation datastore enables ingesting petabytes of data with ultimate efficiency. Ship logs from Kubernetes, AWS, Azure, Google Cloud, DigitalOcean, Nomad, and others.
  • Query everything, all the time: Whether DevOps, SecOps, or EverythingOps, query all your data no matter its age. No provisioning, no moving data from cold/archive to “hot”, and no worrying about slow queries. All your data, all. the. time.
  • Powerful dashboards, for continuous observability: Build dashboards to collect related queries and present information that’s quick and easy to digest for you and your team. Dashboards can be kept private or shared with others, and are the perfect way to bring together data from different sources

For more information check out the official documentation.

Usage

Install using npm install:

npm install @axiomhq/axiom-node

If you use the Axiom CLI, run eval $(axiom config export -f) to configure your environment variables.

Otherwise create a personal token in the Axiom settings and export it as AXIOM_TOKEN. Set AXIOM_ORG_ID to the organization ID from the settings page of the organization you want to access.

Create and use a client like this:

import Client from '@axiomhq/axiom-node';

const client = new Client();

await client.datasets.ingestEvents('my-dataset', [
  { 'foo': 'bar'},
]);

const res = await client.datasets.query(`['my-dataset'] | where foo == 'bar' | limit 100`);

For further examples, head over to the examples directory.

License

Distributed under the MIT License.

Details


Assets

  • axiom-node-0.10.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0