Supported Providers
Axiom Provider
Axiom Provider is a class that allows to ingest/digest data from Axiom.
Inputs
- query (required): AQL to execute
- dataset (required): Dataset to query
- organization_id (optional): Override the given organization id from configuration
- nocache (optional): Whether to cache the response or not
- startTime (optional): Start time, defaults to UTC now in ISO format.
- endTime (optional): End time, defaults to UTC now in ISO format.
Outputs
Axiom does not currently support the notify
function.
Authentication Parameters
The Axiom Provider uses API token authentication. You need to provide the following authentication parameters to connect to Axiom:
- api_token (required): Your Axiom API token.
- organization_id (optional): The organization ID to access datasets in.
Connecting with the Provider
To connect to Axiom, you need to create an API token from your Axiom account. Follow these steps:
- Log in to your Axiom account.
- Go to the API Access page under the Settings menu.
- Click the Create Token button and enter a name for the token.
- Copy the token value and keep it safe.
- Add the token value to the
authentication
section in the Axiom Provider configuration.
To access datasets, you need to provide the organization ID. You can find your organization ID in the URL of the Axiom web app. For example, if your Axiom URL is https://app.axiom.co/organizations/1234
, then your organization ID is 1234
.
Notes
- This provider supports a limited set of features provided by the Axiom API.
- The
startTime
andendTime
parameters use ISO-8601 format. - The
query
function returns the response in JSON format from the Axiom API.
Webhook Integration
- In Axiom, go to the
Monitors
tab in the Axiom dashboad.
- Click on
Notifiers
in the left sidebar and create a new notifier.
- Give it a name and select
Custom Webhook
as kind of notifier. Enter the webhook url as https://api.keephq.dev/alerts/event/axiom.
-
Follow the below steps to create a new API key in Keep.
-
Go to Keep dashboard and click on the profile icon in the botton left corner and click
Settings
.
- Select
Users and Access
tab and then selectAPI Keys
tab and create a new API key.
- Give name and select the role as
webhook
and click onCreate API Key
.
- Copy the API key.
- Add a new header with key as
X-API-KEY
and create a new API key in Keep and paste it as the value and save the webhook.
- Go to
Monitors
tab and click on theMonitors
in the left sidebar and create a new monitor.
- Create a new monitor and select the notifier created in the previous step as per your requirement. Refer Axiom Monitors to create a new monitor.
- Save the monitor. Now, you will receive the alerts in Keep.