Flow is currently in private preview. To try it out, sign up for a free preview.
Prerequisites
- Create an Axiom account.
- Create a dataset in Axiom where you send your data.
- Set up a destination. For more information, see Destinations.
Set up a flow configuration
To set up a flow configuration:- Click the Flows tab. Axiom displays the list of flow configurations you have created.
- In the top right, click New configuration.
-
In the Source section, specify the source dataset and the transformation in an APL query. For example, the following APL query selects events from a
cloudflare-logpush
dataset and reduces them by removing a set of fields, before enriching with a new field.If you only specify the name of the dataset in the query, Axiom routes all events to the destination. - Click Preview to check whether the query you specified transforms your data as desired. The Input event section displays the original data stored in Axiom. The Output event section displays the transformed data that Axiom sends to the destination. The original data in the Axiom dataset isn’t affected by the transformation.
- In the Destination section, click Add a destination, and then select an existing destination where you want to route data or click Create new destination.
- In the top right, click Create.
- Continuous flow
- One-time flow
Create continuous flow
Continuous flows are continuously running operations that process your incoming data and route the outputs to a destination in real-time.- Click the Flows tab. Axiom displays the list of flow configurations you have created. Select the flow configuration that you want to use for creating a continuous flow.
- In the top right, click Create flow and select Continuous flow.
- Click Create flow.
Create one-time flow
One-time flows are one-off operations that process past data for a specific time range and route the output to a destination.- Click the Flows tab. Axiom displays the list of flow configurations you have created. Select the flow configuration that you want to use for creating a one-time flow.
- In the top right, click Create flow and select One-time flow.
- Specify the time range for events you want to process.
- Click Create flow.