Vector

Logs can be sent to Crystalline via the Vector http output plugin.

Unauthenticated

Example vector sink configuration for an input that does not require authentication:

sinks:
  crystalline:
    type: http
    inputs:
      - my_input_id
    uri: https://<hostname>/api/ingest/<input_uuid>/json
    encoding:
      codec: json
    framing:
      method: newline_delimited

Using an input token

Example vector sink configuration for an input that requires authentication using a token:

sinks:
  crystalline:
    type: http
    inputs:
      - my_input_id
    uri: https://<hostname>/api/ingest/<input_uuid>/json
    headers:
      X-Crystalline-Token: "<input_token>"
    encoding:
      codec: json
    framing:
      method: newline_delimited