Vector
Vector is a high-performance observability data pipeline that can collect, transform, and route logs into Hydrolix.
Use this page to receive logs from a Vector application. See Logging Configuration for a description of the same software running inside a Hydrolix cluster.
For Vector documentation, see vector.dev.
Prerequisites⚓︎
A running Hydrolix deployment is required. See deployment instructions for cloud setup steps.
Collect the following values from the active Hydrolix cluster:
| Item | Description | Example value | How to obtain |
|---|---|---|---|
| Org ID | Unique identifier for the Hydrolix organization | bc3f041b-ea52-45e1-b9d5-41819c465854 |
Use the Org API |
| Project name and ID | Logical namespace for the destination table | hdx_project_for_vector / c2445da3-ec63-42be-9f12-f104f9656f4c |
Create a project |
| Table name and ID | Destination for incoming Vector data | hdx_table_for_vector / 798dfcf4-7560-4b24-1337-29017619baa6 |
Create a table |
| Username/password | Optional credentials for basic authentication In version 5.4 and later, the Bearer token method or use of a service account is preferred |
myemail@address.com / MyPassword |
Create a user |
| Bearer token | Preferred authentication method for Streaming API In version 5.4 and later, these tokens are revocable, and may have custom TTL settings |
eyXrxkzoN2fRiiKpnV... |
Generate a token |
Required components⚓︎
Integration requires three main components:
| Component | Purpose |
|---|---|
| Data source | Log data input. Example: Vector’s demo logs. |
| Vector instance | Pipeline for collecting and routing data |
| Hydrolix cluster | Destination for ingested log data |
Vector configuration includes:
- Source: Collects log data.
- Transform (optional): Restructures log data. This is not the same as Hydrolix transforms.
- Sink: Defines the destination. For Hydrolix, this is the streaming API endpoint.
Install Vector⚓︎
Install Vector using the official installation script.
Verify installation:
Configure the Vector sink⚓︎
Create a config file named vector-hdx.yaml:
Replace the placeholder values with the actual project, table, transform ID, and token.
This configuration inserts data into your running Hydrolix cluster using the HTTP Streaming API. The headers provided correspond to those required by the Streaming API endpoint (https://{myhost}.hydrolix.live/ingest/event) which specify the table and project into which it should insert the log data routed through Vector.
Create a Hydrolix transform⚓︎
Use the Transform API to define a schema for incoming log data:
To submit this request using curl:
The returned UUID becomes the value for X-HDX-Transform.
Run Vector⚓︎
Run Vector with this configuration:
Expected logs⚓︎
Example output from a healthy pipeline:
Add custom sources⚓︎
Additional sources can be added to the sources and referenced in the inputs for the Hydrolix sink:
Each source must align with the transform schema used by the sink. For sources with different formats, create additional transforms and configure the headers accordingly.